Skip to content

Python

Notes for logging with Python on App Engine

September 3, 2021

Find your website's URL on Cloud Run

July 25, 2021

Finding the Cloud Tasks location from App Engine

June 13, 2021

Metadata on App Engine

May 27, 2020

Tiny speed-ups for Python code

June 16, 2018

Jinja2 templates and Bottle

December 4, 2013

Grouping URLs in Django routing

June 23, 2013

Testing with Django, Haystack and Whoosh

December 16, 2012

Optimizing queries in Haystack results

December 11, 2012

A context manager for files or file-like objects

June 7, 2012

Custom template folders with Flask

May 31, 2012

Inspecting your routes in Bottle

May 31, 2012

Widths & Heights with xlwt + Python

October 12, 2011

Free software FTW! Updated filetimes.py

September 10, 2011

XPath bug in old versions of ElementTree

September 8, 2011

Styling your Excel data with xlwt

July 2, 2011

Class-based views for Bottle

December 3, 2010

Running Django on Mac

September 29, 2010

Bottle's view decorator and default variables

August 3, 2010

Django-style routing for Bottle

July 26, 2010

More Python features that I really like

May 28, 2010

Split a file on any character in Python

April 15, 2010

Django AdminForm objects and templates

April 4, 2010

Using MacPorts behind a firewall

March 31, 2010

ModelForms good for importing too

January 26, 2010

Notes on Radmind's checksum

January 1, 2010

Context managers

December 20, 2009

I am very bad at writing tests

November 22, 2009

Crazy Acrobat installers love Python

November 9, 2009

Migrating a Filemaker database to Django

November 7, 2009

Working with Active Directory FILETIME values in Python

September 7, 2009

BBC iCalendar schedules

August 7, 2009

Tuples to dicts, toot sweet!

June 19, 2009

os.walk and UnicodeDecodeError

June 9, 2009

Python features for a PHP refugee

April 10, 2009

Q and operator.or_

April 9, 2009

Using an object for Django's ChoiceField choices

March 29, 2009

Django test database runner as a context manager

March 28, 2009

Creating a Django test database for unit testing

March 27, 2009

sys.exit(1) versus SystemExit(1)

March 26, 2009

Encoding lists in Django for jQuery

June 14, 2008

Using relative paths in your settings.py

June 12, 2008

Old-style Python class system and parent methods

June 9, 2008