Python Script Execute Unix Commands Practice