why doesn't is work?a script to backup a directory

2006-03-31 Thread obeeker
"""there is threee directories,one of these is used for the base directory,decided by the user, default is d0""" import shutil #the three directories d0='D:/Program Files/eb/mb/S' d1='O:/eb/mb/S' d2='P:/S/eb/mb/S' #to backup def update(base): l=[d0,d1,d2] l.remove(base)

Re: why doesn't is work?a script to backup a directory

2006-04-01 Thread obeeker
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\E

Re: why doesn't is work?a script to backup a directory

2006-04-01 Thread obeeker
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 fo

Re: why doesn't is work?a script to backup a directory

2006-04-01 Thread obeeker
i am very sorry . the erroer was from my Portable Hard Disk because its disk sign has changed from "o" to "h" ,from "p" to "i" i'm very sorry -- http://mail.python.org/mailman/listinfo/python-list