Archive for the ‘Python’ Category:

Generating Random Session IDs

{ Posted on Sep 13 2009 by david }
For any online service you must login so you can gain access to your stuff. So that you only have to put in your password once, the website must maintain a special unique character sequence called a session key ...Read More »

Converting journal entries from Outlook to MacJournal

{ Posted on Jun 24 2007 by david }
Comments Off
Categories : Python
I wrote a Python script to convert a journal file export from Microsoft Outlook to one which can be read by MacJournal. It requires the Python module csv (included with Python 2.3 or later) Run the script like so: ./outlook2macjournal.py [input_file] [output_file] If no ...Read More »

Doing Python-style imports in JavaScript

{ Posted on Mar 15 2006 by david }
Categories : Programming, Python
Lately at work I’ve been doing a lot of programming in JavaScript. Among other things, I have been learning about using the prototype object to do object oriented programming. One thing that I missed was the feature in Python used ...Read More »