os.path.exists(root):是否存在這個路徑
os.path.abspath(name):這個文件的絕對路徑
os.getcwd():以字符串形式的形式返回當前的工作目錄
os.name():顯示當前平臺
os.remove('C:\\.......'):移除某個文件(windows平臺是\\)
os.path.basename(path):某個path下的文件名
os.path.dirname(path):返回path
os.path.exists(root):是否存在這個路徑
os.path.abspath(name):這個文件的絕對路徑
os.getcwd():以字符串形式的形式返回當前的工作目錄
os.name():顯示當前平臺
os.remove('C:\\.......'):移除某個文件(windows平臺是\\)
os.path.basename(path):某個path下的文件名
os.path.dirname(path):返回path