Re: to use unicode strings only

2009-06-28 Thread Gaudha
On Jun 27, 9:44 pm, Benjamin Peterson wrote: > Gaudha 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 y

Re: to use unicode strings only

2009-06-27 Thread Benjamin Peterson
Gaudha 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

Re: to use unicode strings only

2009-06-27 Thread Gaudha
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 unicod

Re: to use unicode strings only

2009-06-27 Thread Benjamin Peterson
Gaudha 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

2009-06-27 Thread Peter Otten
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/listin

Re: to use unicode strings only

2009-06-27 Thread MRAB
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

to use unicode strings only

2009-06-27 Thread Gaudha
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