News

by Michael Schurpf on February 18, 2012
Let me share a little code snippet I use at times which I call “python save a class”. I came up with a very simple and easy way to do that. Check out my code snippet below.     import cPickle import traceback class someClass(): def __init__(self): #set name from variable name. http://stackoverflow.com/questions/1690400/getting-an-instance-name-inside-class-init (filename,line_number,function_name,text)=traceback.extract_stack()[-2] def_name…
by Michael Schurpf on February 16, 2012
I found this wonderful plugin for WordPress called Simple Social Buttons. I have tried out Sociable, but I really didnt like how they started to try and force you to add their via @sociable in the tweet button. Simple Social Buttons came in very handy! I installed Simple Social Buttons and was a little bit…
by Michael Schurpf on February 8, 2012
I recently had the idea of using a browser as desktop UI (user interface). I have used wxpython for most desktop UI in the past, but I was working on an application that was very closely related to the internet.…
by Michael Schurpf on January 21, 2012
Python is a beautiful programming language, anybody that is not convinced please read my python article to get convinced… But one thing is missing, a python automation module to help automating tasks like autohotkey. I wish there was a single…
by Michael Schurpf on January 20, 2012
Every time I used to publish a new post, I used get a comment notification that looked more or less like this (I am using Clean Notifications): A new comment on “Title” is PENDING APPROVAL: Author: Somebody URL: My old post Comment: […] Title […] I first didnt know what was going on, as it…