Re: diferent answers with isalpha()

2007-07-13 Thread nuno
On Jul 13, 6:07 am, Jyotirmoy Bhattacharya <[EMAIL PROTECTED]> wrote: > On Jul 13, 5:05 am, [EMAIL PROTECTED] wrote: > > > In Idle when I do print 'á'.isalpha() I get True. When I make and > > execute a script file with the same code I get False. > > > Why do I have diferent answers ? > > Non-ASCII

Re: diferent answers with isalpha()

2007-07-12 Thread Jyotirmoy Bhattacharya
On Jul 13, 5:05 am, [EMAIL PROTECTED] wrote: > In Idle when I do print 'á'.isalpha() I get True. When I make and > execute a script file with the same code I get False. > > Why do I have diferent answers ? Non-ASCII characters in ordinary (8-bit) strings have all kinds of strangeness. First, the a

Re: diferent answers with isalpha()

2007-07-12 Thread Gabriel Genellina
En Thu, 12 Jul 2007 21:05:42 -0300, <[EMAIL PROTECTED]> escribió: > Hi, > > I have python with sys.version_info = (2, 4, 4, 'final', 0) > > In Idle when I do print 'á'.isalpha() I get True. When I make and > execute a script file with the same code I get False. > > Why do I have diferent answers ?

diferent answers with isalpha()

2007-07-12 Thread nuno
Hi, I have python with sys.version_info = (2, 4, 4, 'final', 0) In Idle when I do print 'á'.isalpha() I get True. When I make and execute a script file with the same code I get False. Why do I have diferent answers ? Thank you -- http://mail.python.org/mailman/listinfo/python-list