Young Coders Learning Python at PyCon 2013

Posted by: bshaurette | Date: Mar 19, 2013 | Category: PyCon Python

At PyCon 2013 this past week, I was fortunate to be able to pair up with Katie Cunningham to teach two 1-day workshops for young and aspiring programmers:

The Young Coder: Let's Learn Python

On the first day, we taught younger students aged approximately 10-12, and on the ...

Read More

Farewell, Malcolm

Posted by: bshaurette | Date: Mar 19, 2013 | Category: Django Personal 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: bshaurette | Date: Feb 12, 2013 | Category: Django Django1.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:, while the ...

Read More


Posted by: bshaurette | 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 help 

cmd line


Read More

Git/GitHub Micro Workshop

Posted by: bshaurette | 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