Copy files

C

ChengGong

How can I copy a file from one folder to another(subfolder) without
change and property. I work on zope.
 
V

v0id

I haven't tested this, but i maybe think it works?

import shutil
try:
copy("your_file.txt", "your_subfolder")
print "Done!"
except:
print "Failed!"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top