[Tutor] Simple copy script

Evans Anyokwu onyxtic at gmail.com
Sat Apr 12 13:12:46 CEST 2008


Its hard to tell what you're doing wrong without the code.
Sorry, my policy is not to write code for anyone until they have something
to show.


On Sat, Apr 12, 2008 at 11:44 AM, Que Prime <queprime at gmail.com> wrote:

>
> 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.
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080412/be9269a4/attachment.htm 


More information about the Tutor mailing list