In answer to Time Roberts, I saw an item prefixed with 'u' (u'\x1a').
What is the purpose of this prefix? I would have thought it meant
'Unicode' but the type according to Python is 'str'.
Thank you for the explanation of 'repr'. The issue turned out to be the
inclusion of 'repr' in the sample
On 11/28/2014 9:46, John Sampson wrote:
In answer to Time Roberts, I saw an item prefixed with 'u' (u'\x1a').
What is the purpose of this prefix? I would have thought it meant
'Unicode' but the type according to Python is 'str'.
In Py2:
a = u'x'
type(a)
In Py3.4:
a = u'x'
type(a)
Note that u
Hi,
I am new for Python user under windows, so any suggestion would be help. :)
Currently i am using Cython 2.7.2 under windows, i found that Python sends
command prompt(that is ">>>") to stderr instead of stdout, now i need to change
it from stderr to stdout.
I have check the source code an