Python 文件的路径操作 os.getcwd()#获得当前工作目录os.chdir()#指向某目录os.makedirs()#创建新文件夹os.path.getsize()#查看文件大小os.listdir()#返回文件夹下名字字符串的列表 os.listdir(os.getcwd())