why doesn't is work?a script to backup a directory
obeeker at gmail.com
obeeker at gmail.com
Sat Apr 1 07:25:02 EST 2006
please don't read the prevous post ,please read this one:
thank you for your suggestion and apologize for my mistake.
if i run it and answer the raw_input with "Enter" i get
sth is wrong
press Return>
i comment the try-except and run it and answer the raw_input with
"Enter"
and get message following:
Traceback (most recent call last):
File "G:\9\Eb\updateEbBb.py", line 41, in -toplevel-
updateNow(base)
File "G:\9\Eb\updateEbBb.py", line 28, in updateNow
update(d0)
File "G:\9\Eb\updateEbBb.py", line 16, in update
shutil.rmtree(i)
File "D:\Program Files\Python24\lib\shutil.py", line 155, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "D:\Program Files\Python24\lib\shutil.py", line 153, in rmtree
names = os.listdir(path)
WindowsError: [Errno 3] : 'O:/eb/mb/S/*.*'
More information about the Python-list
mailing list