Strings show as brackets with a 'u'.

rantingrick rantingrick at gmail.com
Sat Jul 23 20:48:31 EDT 2011


On Jul 23, 7:33 pm, goldtech <goldt... at worldpost.com> wrote:
>
> >>> n
> [u'174']
>
> 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
> variable.

Try type(n) and see what happens. Then report back. :)



More information about the Python-list mailing list