Re: Copying non-existing files

2014-05-21 Thread Rustom Mody
On Wednesday, May 21, 2014 8:15:10 PM UTC+5:30, Chris Angelico wrote: > On Thu, May 22, 2014 at 12:14 AM, Rustom Mody wrote: > > > d ++ "\\" ++ f > > ITYM: > > d + "\\" + f > > or possibly: > > d + "/" + f Heh! I had a vague feeling it looked strange -- stack corrupted while context switchin

Re: Copying non-existing files

2014-05-21 Thread Chris Angelico
On Thu, May 22, 2014 at 12:14 AM, Rustom Mody wrote: > d ++ "\\" ++ f ITYM: d + "\\" + f or possibly: d + "/" + f ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: Copying non-existing files

2014-05-21 Thread Rustom Mody
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 >

Re: Copying non-existing files

2014-05-21 Thread Peter Otten
Satish ML wrote: [You're back to turd-formatted text; please find a permanent fix for this] > C:\Desktop\salingeg\dest\code > Traceback (most recent call last): > File > "C:\Users\salingeg\Desktop\excel_1.py", line 24, in > shut > il.copy(s, d) > File "C:\Program Files (x86)\python26\lib\shut

Re: Copying non-existing files, was Re: Copying files from sub folders under source directories into sub folders with same names as source directory sub folders in destination directories without over

2014-05-21 Thread Satish ML
On Wednesday, May 21, 2014 2:42:49 PM UTC+5:30, Peter Otten wrote: > Satish ML wrote: [Regarding subject: let's see if we can trigger a buffer > overflow somewhere ;)] > On Wednesday, May 21, 2014 6:59:40 AM UTC+5:30, > Rustom Mody wrote: >> On Tuesday, May 20, 2014 9:35:10 PM UTC+5:30, Jagadeesh

Copying non-existing files, was Re: Copying files from sub folders under source directories into sub folders with same names as source directory sub folders in destination directories without overwrit

2014-05-21 Thread Peter Otten
Satish ML wrote: [Regarding subject: let's see if we can trigger a buffer overflow somewhere ;)] > On Wednesday, May 21, 2014 6:59:40 AM UTC+5:30, Rustom Mody wrote: >> On Tuesday, May 20, 2014 9:35:10 PM UTC+5:30, Jagadeesh N. Malakannavar >> wrote: > Hi Satish, > > Can you please send python p