标签:
>>> 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
标签:
原文地址:http://my.oschina.net/u/861926/blog/408033