470,613 Members | 2,448 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,613 developers. It's quick & easy.

Copy files

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

Mar 31 '06 #1
1 1211
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!"

Mar 31 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by Mike | last post: by
6 posts views Thread by Wayne Wengert | last post: by
2 posts views Thread by Steve Franks | last post: by
8 posts views Thread by luis molina Micasoft | last post: by
13 posts views Thread by jim | last post: by
1 post views Thread by =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post: by
1 post views Thread by =?Utf-8?B?UmFkZW5rb19aZWM=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.