Unwanted Spaces and Iterative Loop

Chris Angelico rosuav at gmail.com
Sun Jan 26 20:56:01 EST 2014


On Mon, Jan 27, 2014 at 12:15 PM,  <matt.s.marotta at gmail.com> wrote:
> I`m not reading and writing to the same file, I just changed the actual paths to directory.

For next time, say "directory1" and "directory2" to preserve the fact
that they're different. Though if they're file names, I'd use "file1"
and "file2" - calling them "directory" implies that they are, well,
directories :)

ChrisA



More information about the Python-list mailing list