Strings show as brackets with a 'u'.

goldtech goldtech at
Sat Jul 23 20:33:09 EDT 2011


>>> n

Probably newbie question but not sure how suppress the brackets and
the 'u' ? I assume pyhon is telling me it's a unicode string in the n

 I'm using using Idle on winXP, activestate 2.7. Is there a way to
suppress this and just show 174  in the shell ?
A script reading data and assigns 174 to n via some regex. Links on
this appreciated - I've tried to understand unicode before, will keep

More information about the Python-list mailing list