Decorators in Python
Just a quickie – for my archive – Decorators in Python
Just a quickie – for my archive – Decorators in Python
TurboGears is one thing that fascinates me! So besides reading the Gnome 2 book, this one is right on target! …only problem being, there’s no Indian Edition (Low priced edition) for this book yet. So, ‘am trying to list my other options – buy a used one from Amazon – which would cost me USD [...]
Revise your knowledge about Python Types and Objects For example (straight from the document) obj = object() cobj = C() mylist = [1,2,3] is related to “type” and “object” as
Fetching a scrapbook page & parsing it everytime to get new messages seems kinda overkill… specially because of the following two reasons – 1) I’m interested in only the new message 2) Parsing HTML which is not controlled by you & which changes frequently can leave your application a bit shaky! So this is what [...]
Umm.. this is what I thought I’d name it Yesternight, I was reading Text Processing in Python, when I wandered off to a section which talked of some HTML parsing. It immediately caught my attention because previously also I was trying to scrap html from my orkut account. A quick reading & I was ready [...]
Read it online – Text Processing in Python [TXT format]
I spent few minutes on understanding the problem mentioned here The bug is filed here This was my first attempt at the bug… run python, run the interacive shell import appuifw as a import series60_console as s a.app.body = s.Console() s.app.body.clear() Then it struck me, why not add this functionality in the menu? Why type [...]
If you are in a similar urgent need to pump all your pics to an online gallery which provides decent space & xml-rpc api, try my ZoLoader script. Its a very crude script as of now… but is expected to improve with time. Expected output… /home/majain/personal/pics/makuchaku.in/Home/Even i can use PC.jpg file uploaded /home/majain/personal/pics/makuchaku.in/Home/Sleeping beauties.jpg file [...]
I was thinking of doing this from quite some time, but was searching for the required xml parser. The pyexpat module available from PDIS made for the missing link. I installed the SIS installer available from PDIS website, copied the xmlrpclib.py (from python 2.2.3 source tarball) file to my Nokia 6600 to E:\System\Libs folder & [...]
I just happened to stumble upon this pluign for Python Development for Eclipse. BTW this is by default there in FC5 & features some nice capabilities like code completition, auto-formatting, support for jython, smart indentation, etc. A full list is here at the PyDev website. & for the lazy ones, let the screenshots do the [...]