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 ...
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
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 ...
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 ...