import osos.path.exists('d:/assist')# Trueos.path.exists('d:/assist/getTeacherList.py')# Trueos.path.isfile('d:/assist')# Falseos.path.isfile('d:/assist/getTeacherList.py')# Trueos.makedirs('d:/assist/set') # 创建文件夹os.path.exists('d:/assist/set')# True
