Young Coders Learning Python at PyCon 2013
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
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
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
Snippets
Python
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')) Django
get a list of all available subcommands:
python manage.py help
cmd line
...Read More
Git/GitHub Micro Workshop
Back on January 29th, PyLadies Austin held a micro workshop to cover Git/GitHub.
http://www.meetup.com/PyLadies-ATX/events/99435462/
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


