import os
print os.path.isdir('/Users/jasonyang/Documents/learnPython')
print os.path.isdir('/Users/jasonyang/Documents/learnPthon')
print os.path.isfile('/Users/jasonyang/Documents/Machine Learning/square.py')
print os.path.isfile('/Users/jasonyang/Documents/Machine Learning')
