Farewell, Malcolm

Posted by: barbara | Date: Mar 19, 2013 | Category: Django Python

Following an amazing week at PyCon, I woke up this morning to discover that I'd lost a good friend, and that the Python community has lost one of its most brilliant minds.

Details are still unclear, but Malcolm Tredinnick passed away this past weekend, apparently as the result of ...

Read More

Batch Image Upload with Drag & Drop in the Django Admin

Posted by: barbara | Date: Feb 12, 2013 | Category: Django Django 1.3

The assignment: Find a way to implement batch image uploads in the Django admin using a drag and drop interface. For the record, we're using jQuery 1.8, and Bootstrap for some of the styling. Temporary files are being posted to S3, using boto (for more information: http://boto.s3.amazonaws.com/s3_tut.html), while the ...

Read More


Posted by: barbara | Date: Feb 11, 2013 | Category:


print line numbers in a Python script:

 import sys frame = sys._getframe() print frame.f_lineno 

Python - date from Unix timestamp

 import datetime print(datetime.datetime.fromtimestamp(int("1284101485")).strftime('%Y-%m-%d %H:%M:%S')) 


get a list of all available subcommands:

 python manage.py help 

cmd line


Read More

Git/GitHub Micro Workshop

Posted by: barbara | Date: Feb 04, 2013 | Category: Girl Geeks Git

Back on January 29th, PyLadies Austin held a micro workshop to cover Git/GitHub.


It was a quick hands-on introduction to the core features of Git, as well as some of the things you can do with GitHub. The group was very small (just six people) and informal. It ...

Read More

PyCon 2013: Young Coder "Lets Learn Python" Tutorial

Posted by: barbara | Date: Jan 28, 2013 | Category: PyCon

At PyCon 2013, I'll be participating in my first-ever tutorial, helping Katie Cunningham as we introduce 12- to 18-year-olds to the world of Python coding.

From the official description:

    "This free tutorial will explore how to program using Python by making games. The workshop will start with learning Python's simple ...

    Read More