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.

1 comment:

Steve B - Guitarman4 said...
This comment has been removed by a blog administrator.