Posts tagged as:

python

2010 May Boston Python Meetup Videos

May 24, 2010

Here are the videos for the Boston Python Meetup in May, on “Testing”. Two speakers were Marshall Weir on “Testing, Where Do I Start?” and Stephan Richter on “How to Test the Hard Stuff”.
The videos are pretty long. I ran out of SD space at the end so missed a little bit of info [...]

Read the full article →

SyntaxHighlighter plugin for Wordpress

December 28, 2008

It has only been years, but I finally decided to install a syntax highlighter plugin for this blog. A quick search pointed me to SyntaxHighlighter 1.1.1., downloaded it, unzipped into the plugin directory, and activated it. Took all of 2 minutes. Should have done this earlier !
How watch out for some useful code samples in [...]

Read the full article →

Fix Python source code to use spaces instead of tabs

December 7, 2008

What if someone gave you a Python source file that is indented using tabs? If you are using emacs, the following will let you convert it back to using spaces:
# first set the buffer tab width to 4 (or whatever you like)
M-x set-variable <return> tab-width < return> 4
# then mark the entire file
C-x h
# do [...]

Read the full article →

We love Python (the language)

December 24, 2007

I don’t read the xkcd comics each day. I save them up. So here it is, if you have missed it — about Python, our fav. programming language on xkcd.

Read the full article →