Copying non-existing files

Rustom Mody rustompmody at gmail.com
Wed May 21 10:14:12 EDT 2014


On Wednesday, May 21, 2014 2:11:42 PM UTC+5:30, Satish ML wrote:

> import xlrd, sys, os, shutil
>         for f in files:
>                 for s in source:
>                         for d in destination:
>                                 print f
>                                 print s
>                                 print d
>                                 if (os.path.exists("d\\f")):

Am I missing something very basic???

Should you be writing
"d\\f"
or
d ++ "\\" ++ f
?

On Wednesday, May 21, 2014 3:45:24 PM UTC+5:30, Peter Otten wrote:
> 
> [You're back to turd-formatted text; please find a permanent fix for this]
> 

Satish:
Please see https://mail.python.org/pipermail/python-list/2014-May/672340.html
to get an idea how your posts look to others here 

Then see
https://mail.python.org/pipermail/python-list/2014-May/
to see how most posts look



More information about the Python-list mailing list