GET /api/v2/video/2226
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, PUT, PATCH, HEAD, OPTIONS
{ "category": "PyCon AU 2013", "language": "English", "slug": "pythonic-iterators-and-generators", "speakers": [ "Lakshman Prasad" ], "tags": [], "id": 2226, "state": 1, "title": "Pythonic iterators and generators", "summary": "One of the first things you learn in programming is to apply a series of instructions to a set of elements.\r\n\r\nGiven it's ubiquitous nature and given the culture of python to simplify such tasks, decades of development and thought has gone into making this as convenient as possible for all possible use cases. While the functional ways of iterating like map, reduce and filter exist, list-comprehensions and the functions in itertools module enable several pythonic imperative alternatives that cover a gamut of possible use cases.\r\n\r\nThis talk is an interactive exercise using iPython notebook to cover many of these use cases to enable better iteration including writing of your own iterators and generators and when you would want to do such a thing.", "description": "", "quality_notes": "", "copyright_text": "CC-BY-SA", "embed": "<object width=\"640\" height=\"390\"><param name=\"movie\" value=\"http://youtube.com/v/ODkRRup0a8w?version=3&amp;hl=en_US\"></param><param name=\"allowFullScreen\" value=\"true\"></param><param name=\"allowscriptaccess\" value=\"always\"></param><embed src=\"http://youtube.com/v/ODkRRup0a8w?version=3&amp;hl=en_US\" type=\"application/x-shockwave-flash\" width=\"640\" height=\"390\" allowscriptaccess=\"always\" allowfullscreen=\"true\"></embed></object>", "thumbnail_url": "http://i1.ytimg.com/vi/ODkRRup0a8w/hqdefault.jpg", "duration": 30, "video_ogv_length": null, "video_ogv_url": null, "video_ogv_download_only": false, "video_mp4_length": null, "video_mp4_url": "http://s3.us.archive.org/ndvpyconau2013/Pythonic_iterators_and_generat.mp4", "video_mp4_download_only": true, "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": "https://www.youtube.com/watch?v=ODkRRup0a8w", "whiteboard": "", "recorded": "2013-07-06", "added": "2013-07-13T01:04:07", "updated": "2014-04-08T20:28:26.285" }