Simon Willison’s Weblog

Subscribe

2 items tagged “import”

2009

Namespaces. Python’s approach to imports is possibly my favourite feature of the language. I love being able to scan up to the top of a file in my text editor and see exactly where every symbol comes from, no IDE required.

# 2nd December 2009, 9:31 am / christopher-lenz, ide, import, namespaces, python

2008

Django snippets: Command to dump data as a python script. Extremely useful—dumps the data for an application as an executable Python script which will re-import it in to another database without any risk of colliding with existing IDs, sorting out foreign keys along the way.

# 24th June 2008, 12:07 pm / database, django, django-snippets, import, python