#!/usr/bin/python2
# -*- coding: UTF-8 -*-

# install
# sudo pip install pymongo
# sudo pip install MySQL-python
# sudo install_name_tool -change libmysqlclient.18.dylib /usr/local/mysql/lib/libmysqlclient.18.dylib /Library/Python/2.7/site-packages/_mysql.so
# sudo pip install requests
# sudo pip install threadpool
# sudo pip install apscheduler

# command
python -V

# script
for letter in 'Python':
   print 'current letter:', letter

fruits = ['banana', 'apple',  'mango']
for index in range(len(fruits)):
   print 'current fruit:', fruits[index]

#!/usr/bin/python2
# -*- coding: UTF-8 -*-

# install
# sudo pip install pymongo
# sudo pip install MySQL-python
# sudo install_name_tool -change libmysqlclient.18.dylib /usr/local/mysql/lib/libmysqlclient.18.dylib /Library/Python/2.7/site-packages/_mysql.so
# sudo pip install requests
# sudo pip install threadpool
# sudo pip install apscheduler

# command
python -V

import sys, pprint
pprint.pprint(sys.path)

# script
for letter in 'Python':
   print 'current letter:', letter

fruits = ['banana', 'apple',  'mango']
for index in range(len(fruits)):
   print 'current fruit:', fruits[index]

add python script