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 my first time to post question in th

Re: about special characters

2016-04-30 Thread MRAB
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 my first time to post question in this list. I am using python 2.7 in Windows 7 Enterprise version. Here is the the filename that cause the problem: "Decock-201

Re: about special characters

2016-04-30 Thread Terry Reedy
On 4/30/2016 2:13 PM, Jianling Fan wrote: I am using python 2.7 in Windows 7 Enterprise version. Here is the the filename that cause the problem: "Decock-2013-On the potential of δ18O and δ15N.pdf" When I delete the "δ" in the filename, the script works good. You may be able to get "δ" (and o

Re: about special characters

2016-04-30 Thread Jianling Fan
Hello everyone, Thanks very much for all your replies and sorry for the inconvience. This is my first time to post question in this list. I am using python 2.7 in Windows 7 Enterprise version. Here is the the filename that cause the problem: "Decock-2013-On the potential of δ18O and δ15N.pdf" Wh

Re: about special characters

2016-04-29 Thread MRAB
On 2016-04-30 03:35, eryk sun wrote: On Fri, Apr 29, 2016 at 8:48 PM, Ben Finney wrote: Steven D'Aprano writes: On Sat, 30 Apr 2016 09:52 am, Ben Finney wrote: > (There has never been a Python 27. I assume Python 2.7 is what you > meant.) I believe that Python X.Y shows up as "PythonXY" und

Re: about special characters

2016-04-29 Thread Ben Finney
Terry Reedy writes: > On 4/29/2016 9:48 PM, Ben Finney wrote: > > Steven D'Aprano writes: > > > >> On Sat, 30 Apr 2016 09:52 am, Ben Finney wrote: > >> > >>> (There has never been a Python 27. I assume Python 2.7 is what you > >>> meant.) > >> > >> I believe that Python X.Y shows up as "PythonXY

Re: about special characters

2016-04-29 Thread eryk sun
On Fri, Apr 29, 2016 at 8:48 PM, Ben Finney wrote: > Steven D'Aprano writes: >> On Sat, 30 Apr 2016 09:52 am, Ben Finney wrote: >> >> > (There has never been a Python 27. I assume Python 2.7 is what you >> > meant.) >> >> I believe that Python X.Y shows up as "PythonXY" under Windows. > > Then th

Re: about special characters

2016-04-29 Thread Terry Reedy
On 4/29/2016 9:48 PM, Ben Finney wrote: Steven D'Aprano writes: On Sat, 30 Apr 2016 09:52 am, Ben Finney wrote: (There has never been a Python 27. I assume Python 2.7 is what you meant.) I believe that Python X.Y shows up as "PythonXY" under Windows. As a directory name that also omits t

Re: about special characters

2016-04-29 Thread Ben Finney
Steven D'Aprano writes: > On Sat, 30 Apr 2016 09:52 am, Ben Finney wrote: > > > (There has never been a Python 27. I assume Python 2.7 is what you > > meant.) > > I believe that Python X.Y shows up as "PythonXY" under Windows. Then that's a bug which should be fixed, IMO. An MS Windows user (i.e

Re: about special characters

2016-04-29 Thread Steven D'Aprano
On Sat, 30 Apr 2016 09:33 am, Jianling Fan wrote: > 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 >

Re: about special characters

2016-04-29 Thread Steven D'Aprano
On Sat, 30 Apr 2016 09:52 am, Ben Finney wrote: > Jianling Fan writes: > >> I am trying to use python 27 copying some of my folders and files to >> another directory. > > (There has never been a Python 27. I assume Python 2.7 is what you meant.) I believe that Python X.Y shows up as "PythonXY"

Re: about special characters

2016-04-29 Thread MRAB
On 2016-04-30 00:52, Ben Finney wrote: Jianling Fan writes: I am trying to use python 27 copying some of my folders and files to another directory. (There has never been a Python 27. I assume Python 2.7 is what you meant.) My code works good for other files but I have some problem to copy

Re: about special characters

2016-04-29 Thread Ben Finney
Jianling Fan writes: > I am trying to use python 27 copying some of my folders and files to > another directory. (There has never been a Python 27. I assume Python 2.7 is what you meant.) > My code works good for other files but I have some problem to copy > files that have some special charact