摘要: 抓取文件import shutil, tempfile, subprocessdef _fetch_file(host, user, filename): """Function to fetch a file from the server and copy it to the loc... 阅读全文
posted @ 2015-11-06 16:32 充实自己 阅读(602) 评论(0) 推荐(0) 编辑
摘要: os.path>>> import os>>> os.path.dirname('/opt/mysql/data/ibdata1')'/opt/mysql/data'>>> os.path.dirname('ibdata1')''>>> os.path.abspath('ibdata1')'/opt... 阅读全文
posted @ 2015-11-06 11:45 充实自己 阅读(154) 评论(0) 推荐(0) 编辑