Re: to use unicode strings only
On Jun 27, 9:44 pm, Benjamin Peterson benja...@python.org wrote: Gaudha sanal.vikram at gmail.com writes: And Peter, I tried importing the __future__ module. It's also not working... How so? Sorry guys, __future__ module is working excellent :-). I had some bad coding somewhere else, just fixed it. Anyway, thank you for all... -- http://mail.python.org/mailman/listinfo/python-list
to use unicode strings only
Hey gentlemen, I wanna make all the strings in my code unicode strings. How to do it without giving unicode switch 'u' before every string? -- http://mail.python.org/mailman/listinfo/python-list
Re: to use unicode strings only
Gaudha wrote: Hey gentlemen, I wanna make all the strings in my code unicode strings. How to do it without giving unicode switch 'u' before every string? Use Python 3.1 instead. -- http://mail.python.org/mailman/listinfo/python-list
Re: to use unicode strings only
MRAB wrote: Gaudha wrote: I wanna make all the strings in my code unicode strings. How to do it without giving unicode switch 'u' before every string? Use Python 3.1 instead. or use from __future__ import unicode_literals in Python 2.6. -- http://mail.python.org/mailman/listinfo/python-list
Re: to use unicode strings only
Gaudha sanal.vikram at gmail.com writes: Hey gentlemen, I wanna make all the strings in my code unicode strings. How to do it without giving unicode switch 'u' before every string? Or the -U flag, but that's probably a bad idea. -- http://mail.python.org/mailman/listinfo/python-list
Re: to use unicode strings only
On Jun 27, 4:54 pm, Peter Otten __pete...@web.de wrote: MRAB wrote: Gaudha wrote: I wanna make all the strings in my code unicode strings. How to do it without giving unicode switch 'u' before every string? Use Python 3.1 instead. or use from __future__ import unicode_literals in Python 2.6. I know about Python 3.1 have the capability. But, unfortunately the community for which I'm working do not prefer Python 3.*... And Peter, I tried importing the __future__ module. It's also not working... -- http://mail.python.org/mailman/listinfo/python-list
Re: to use unicode strings only
Gaudha sanal.vikram at gmail.com writes: And Peter, I tried importing the __future__ module. It's also not working... How so? -- http://mail.python.org/mailman/listinfo/python-list