extract rar

2016-04-01 Thread Jianling Fan
Hello everyone, I am wondering is there any way to extract rar files by python without WinRAR software? I tried Archive() and patool, but seems they required the WinRAR software. Thanks, Regards, Jianling -- https://mail.python.org/mailman/listinfo/python-list

Re: extract rar

2016-04-01 Thread Jianling Fan
t; >> I am wondering is there any way to extract rar files by python without >> WinRAR software? >> >> I tried Archive() and patool, but seems they required the WinRAR software. > > Perhaps 7-zip in a Python subprocess: > http://superuser.com/questions/458643/unzip-rar-fro

about special characters

2016-04-29 Thread Jianling Fan
Hello everyone, I am trying to use python 27 copying some of my folders and files to another directory. My code works good for other files but I have some problem to copy files that have some special characters in the filename. like filenames contain Greek "δ" or latin "š". it always gave a error

Re: about special characters

2016-04-30 Thread Jianling Fan
print('- -b Sync file failure !!!') return if not os.path.exists(dest): os.makedirs(dest) dir_cmp = filecmp.dircmp(src, dest, ignore=IGNORE) sync(dir_cmp) print('^_^ Sync file finished!') if __name__ == '__main__': src, d

Re: about special characters

2016-04-30 Thread Jianling Fan
Oh, it works! This is the simplest and best way! Thanks very much! On 30 April 2016 at 13:42, MRAB wrote: > On 2016-04-30 19:13, Jianling Fan wrote: >> >> Hello everyone, >> >> Thanks very much for all your replies and sorry for the inconvience. >> This is

Re: python

2016-01-12 Thread Jianling Fan
It seems like that python was already installed in your computer. Please check . On 11 January 2016 at 14:45, Sean Melville wrote: > I don't believe it's xp, it's a new laptop > > > >> On 11 Jan 2016, at 20:33, Cameron Simpson wrote: >> >>> On 11Jan2016 19:17, Sean Melville wrote: >>> I've down