Tag Archives: python

Restart/Shutdown your Linux machine using dbus

Ok. This is fairly trivial stuff for many of you, but what I found interesting is that the SystemBus lets you shutdown/restart/suspend/hibernate as an ordinary user. Of course, if you think of a desktop, that is a pretty basic expectation … Continue reading

Posted in tech | Tagged , , , | Leave a comment

Regular expressions in Python by example

Every time I come back to Python from the land of Perl here at work, I need to re-learn how to use regular expressions in Python, as it is, IMHO, quite a bit different from Perl. Rather than trawling through … Continue reading

Posted in tech | Tagged , , , | 1 Comment

Catching up with Python

Am trying to catch up with Python where I left off years ago. <rant> What have they done to the language when I was gone? It is no longer the simple language as before. The decorator syntax looks so .. … Continue reading

Posted in General | Tagged , | Leave a comment

Interesting wxpython case study

I have been busy in the last few days migrating my mind from web based apps to native apps. Currently, I am reading about wxpython as a possible answer. Here is an interesting post on the wxpython mailing list on … Continue reading

Posted in tech | Tagged , , , , | Leave a comment