line.strip()
for line in file: => line will contain '\n' at the end of the string.
Andreas
Am Montag, den 14.04.2008, 00:08 -0700 schrieb Que Prime:
>
> This is what I came up with after writing it out and reading the
> corresponding functions. I feel I'm close but something is still
> awry.
>
This is what I came up with after writing it out and reading the
corresponding functions. I feel I'm close but something is still awry.
#file copy based on input file containing filenames to be copied
##
import os
import shutil
os.chdir('c:\\test')
infile = open("in