[Python] python通过shutil实现快速文件拷贝 →→→→→进入此内容的聊天室

来自 , 2020-08-03, 写在 Python, 查看 152 次.
URL http://www.code666.cn/view/831da40e
  1. from shutil import *
  2. from glob import glob
  3.  
  4. print 'BEFORE:', glob('shutil_copyfile.*')
  5. copyfile('sharejs.com.py', 'sharejs.com.py.copy')
  6. print 'AFTER:', glob('shutil_copyfile.*')
  7.  
  8.  

回复 "python通过shutil实现快速文件拷贝"

这儿你可以回复上面这条便签

captcha