python -i
Peter Hansen
peter at engcorp.com
Tue Oct 9 00:25:32 EDT 2001
epchaves at yahoo.com.br wrote:
>
> __________________
> import string
>
> a = string.lower("ÇÇÇÀÀÀAAA")
> print a
> ____________________
>
> if i do: python -i myfile.py
> the output is OK: çççàààaaa
>
> but if i do: python myfile.py
> the output isn't the expected: ÇÇÇÀÀÀaaa
With this: ActivePython 2.1.1, build 212 (ActiveState)
Python 2.1.1 (#20, Jul 26 2001, 11:38:51) [MSC 32 bit (Intel)] on win32
I get the same result from either set of command line arguments:
C:\>python test.py
ÇÇÇÀÀÀaaa
C:\>python -i test.py
ÇÇÇÀÀÀaaa
>>>
--
----------------------
Peter Hansen, P.Eng.
peter at engcorp.com
More information about the Python-list
mailing list