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

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
llo 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. > > Perhaps 7-zip in a Python subprocess: > http://superuser.com/question

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

Re: about special characters

2016-04-30 Thread Jianling Fan
dir_cmp = filecmp.dircmp(src, dest, ignore=IGNORE) sync(dir_cmp) print('^_^ Sync file finished!') if __name__ == '__main__': src, dest = SRC, DEST if len(sys.argv) == 3: src, dest = sys.argv[1:3] sync_files(src, dest) Thanks again! On 29 April 2016 at 19:01, Ste

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 <pyt...@mrabarnett.plus.com> wrote: > On 2016-04-30 19:13, Jianling Fan wrote: >> >> Hello everyone, >> >> Thanks very much for all your replies and sorry f