Strange behavior of the Eclipse embedded console
hellt
Dodin.Roman at gmail.com
Thu Mar 20 07:31:41 EDT 2008
i've faced with some strangeness while executing this sample:
choice = raw_input("your choice: ")
print len(choice)
when i run this sample in my eclipse console with CPython and print
Yes, i have this output
4 #trailing \t is the fourth element
but when i use command line method
python sample.py
i have the correct length = 3
i'm curious now, can anyone explain that?
More information about the Python-list
mailing list