Python

Creating KDE4 apps with Python

Creating the Python KDE4 application id3encodingconverter makes me dive into PyKDE programming again after the first version of EncodingConverter EncodingConverter a KDE Amarok plugin with PyKDE 3.

Unicode finally takes the lead...

...at least for Python 3.0.

Still hoping we can only wonder about sentences like the following in 10 years:
Some languages use special characters (Chinese, Japanese, Arabic, Klingon, etc.) that are difficult to handle with traditional software.

Python and Exceptions containing Unicode messages

Python (2.4 and 2.5 tested) seems to have problems when an exception is thrown that contains non-ASCII text as a message.

In my case I constructed an exception like

>>> try:
...     raise Exception(u'Error when printing ü')
... except Exception, e:
...     print e
...
Traceback (most recent call last):
  File "", line 4, in ?

Spell check python source code

How to spell check Python source code, without wanting to non stop clicking "Ignore" for 'def' or other Python commands?

I have no IDE installed for python, quick Google check didn't give me any nice results, there's something for Emacs, brr.

Syndicate content