>>> import os

>>> os.path.exists('d:/assist')

True

>>> os.path.exists('d:/assist/getTeacherList.py')

True

>>> os.path.isfile('d:/assist')

False

>>> os.path.isfile('d:/assist/getTeacherList.py')

True

>>> os.makedirs('d:/assist/set')

>>> os.path.exists('d:/assist/set')

True