Sunday 22 March 2009

two wee python lifesavers

filed under the "notes to self" category... if I forget these tips I'll googling for them... so let's put them on my random blog for now.
  • This should be enabled by default in the standard python shell. http://blog.venthur.de/2008/07/06/tab-completion-in-pythons-interactive-mode/

  • 'enscript' is a must have for printing code... and from the man page, is this suggestion from the developer himself - flags for printing code: gaudy header, two columns, landscape, code highlighting, 2-up printing.
    ~$enscript -G2rE -U2 main.py

    if you have a long script, check it out... it's beautiful.

Thursday 19 March 2009

openMolar - it's not a comic book reader.

I was a guest on the linux link tech show last night, I was my usual incoherent babbling self, but I had a great time.

If anyone is interested in seeing just how badly I write code, please download,play with, and scrutinise the openMolar software.

tarball (inlcuding an example database for March and April 2009) and a checksum for the paranoid can be found at
www.invernessrowingclub.co.uk/misc/openmolar