Python 操作文件、文件夹、目录大全
摘要:
# -*- coding: utf-8 -*- import os import shutil # 一. 路径操作:判断、获取和删除 #1. 得到当前工作目录,即当前Python脚本工作的目录路径: os.getcwd() #print: currentpath: f:\LearnPython currentpath = os.getcwd() print "currentpath: "... 阅读全文
posted @ 2017-11-30 18:00 星河赵 阅读(605) 评论(0) 推荐(0)
浙公网安备 33010602011771号