Re: Copy files
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: Copy files

From: v0id <oranen@jubii.dk>
Date: Fri Mar 31 2006 - 15:07:35 CEST

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!"
Received on Sun Apr 30 21:46:29 2006