how to run python cpde inactiverly in mac code example
Example 1: run sh from terminal mac
chmod +x fileName
bash fileName
Example 2: how to download file in python
import urllib.request
print('Beginning file download with urllib2...')
url = 'http://i3.ytimg.com/vi/J---aiyznGQ/mqdefault.jpg'
urllib.request.urlretrieve(url, '/Users/scott/Downloads/cat.jpg')
Example 3: how to make a tarball in linux
tar -cvzf name.tar /path/to/directory