[Tutor] Simple copy script

Que Prime queprime at gmail.com
Sat Apr 12 12:44:16 CEST 2008


I'm trying to copy files from one directory to another based on an input txt
file containing the filename.

Source directory = C:\test
Destination directory = C:\output

input.txt looks like:

12345.pdf
12344.pdf


I having trouble getting my mind around a loop that would accomplish this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080412/31f5e519/attachment.htm 


More information about the Tutor mailing list