GET /api/v2/video/370
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, PUT, PATCH, HEAD, OPTIONS
{ "category": "PyCon US 2011", "language": "English", "slug": "pycon-2011--hidden-treasures-in-the-standard-libr", "speakers": [ "Doug Hellmann" ], "tags": [ "cgitb", "cmd", "contextlib.contextmanager", "csv", "fileinput", "hmac", "locale", "pdb", "pkgutil.getdata", "pycon", "pycon2011", "rlcompleter", "robotparser", "uuid4" ], "id": 370, "state": 1, "title": "Hidden Treasures in the Standard Library", "summary": "", "description": "Hidden Treasures in the Standard Library\n\nPresented by Doug Hellmann\n\nThis presentation covers features of the standard library not widely known or\nused. Each feature is presented with a short demonstration program and\nexplanation.\n\nAbstract\n\nThe standard library contains many hidden gems that are not widely used,\neither because they are not publicized enough or because they are deep in a\nmodule that programmers haven't had cause to study or use. This presentation\ncovers 8-10 selected topics of this nature in about 25 minutes (leaving time\nfor a couple of questions). Demonstration code is included for every item.\n\nPossible tips include, in no particular order:\n\n * Using hmac to verify pickled data before unpacking it. \n * Using uuid4 to generate session tokens. \n * Regular expression look-ahead/behind matches. \n * pdb startup files \n * Reading files with mmap \n * Using csv dialects \n * The robotparser module \n * The rlcompleter module \n * Using locale to format numbers and currency \n * The cgitb module \n * pkgutil.getdata \n * contextlib.contextmanager \n * The cmd module \n * The fileinput module \n\n", "quality_notes": "", "copyright_text": "Creative Commons Attribution-NonCommercial-ShareAlike 3.0", "embed": "", "thumbnail_url": "http://a.images.blip.tv/Pycon-PyCon2011HiddenTreasuresInTheStandardLibrary179-925.jpg", "duration": null, "video_ogv_length": 132722607, "video_ogv_url": null, "video_ogv_download_only": false, "video_mp4_length": null, "video_mp4_url": "http://05d2db1380b6504cc981-8cbed8cf7e3a131cd8f1c3e383d10041.r93.cf2.rackcdn.com/pycon-us-2011/370_hidden-treasures-in-the-standard-library.mp4", "video_mp4_download_only": false, "video_webm_length": null, "video_webm_url": null, "video_webm_download_only": false, "video_flv_length": null, "video_flv_url": null, "video_flv_download_only": false, "source_url": "", "whiteboard": "", "recorded": "2011-03-11", "added": "2012-02-23T04:20:00", "updated": "2014-04-08T20:28:27.982" }