I have a certain GUI program that I built using Python 2.7 and PyQt4.
I want to convert it into a standalone windows executable.
I went through the docs for Pyinstaller-2.0 and tried several times but I think
that I might be on the wrong approach.
Here is the structure of my Program.
[Resource
That worked out. I was trying to encode it the entire time.
Now I realise how silly I am.
Thanks MRAB. Once Again. :D
--
http://mail.python.org/mailman/listinfo/python-list
How can i convert text of the following type
नà¥à¤ªà¤¾à¤²à¥
into devnagari unicode in Python 2.7?
--
http://mail.python.org/mailman/listinfo/python-list
Thanks MRAB your alternative regex implementation worked flawlessly.
It works now.
--
http://mail.python.org/mailman/listinfo/python-list
[IMG]http://i41.tinypic.com/35002rr.png[/IMG]
Heres a screenshot http://i41.tinypic.com/35002rr.png
--
http://mail.python.org/mailman/listinfo/python-list
Thanks MRAB, your suggestion worked. But then it brought an error
'ascii' codec can't encode characters in position 0-1: ordinal not in
range(128)
I corrected this by encoding it to 'utf-8'. The code looks like this now.
pattern = ur'(?u)\w+'
def __init__(self, *args):