{"action":"created","issue":{"url":"https://api.github.com/repos/codebar/tutorials/issues/149","labels_url":"https://api.github.com/repos/codebar/tutorials/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/codebar/tutorials/issues/149/comments","events_url":"https://api.github.com/repos/codebar/tutorials/issues/149/events","html_url":"https://github.com/codebar/tutorials/issues/149","id":51728634,"number":149,"title":"Python","user":{"login":"chrisfranklin","id":1395014,"avatar_url":"https://avatars.githubusercontent.com/u/1395014?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisfranklin","html_url":"https://github.com/chrisfranklin","followers_url":"https://api.github.com/users/chrisfranklin/followers","following_url":"https://api.github.com/users/chrisfranklin/following{/other_user}","gists_url":"https://api.github.com/users/chrisfranklin/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisfranklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisfranklin/subscriptions","organizations_url":"https://api.github.com/users/chrisfranklin/orgs","repos_url":"https://api.github.com/users/chrisfranklin/repos","events_url":"https://api.github.com/users/chrisfranklin/events{/privacy}","received_events_url":"https://api.github.com/users/chrisfranklin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/codebar/tutorials/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/codebar/tutorials/labels/new%20tutorial","name":"new tutorial","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-12-11T19:41:17Z","updated_at":"2015-03-28T17:49:15Z","closed_at":null,"body":"If there was a desire for it I could create Python versions of the Ruby tutorials. For example:\r\n\r\nhttps://github.com/chrisfranklin/tutorials/blob/python-dev/python/lesson1/tutorial.md\r\n\r\n(although Learn Python the Hard Way is excellent I think pointing to a much shorter introductory tutorial and then pointing towards LPHW for reference would be better, I'm happy to change it)"},"comment":{"url":"https://api.github.com/repos/codebar/tutorials/issues/comments/87273659","html_url":"https://github.com/codebar/tutorials/issues/149#issuecomment-87273659","issue_url":"https://api.github.com/repos/codebar/tutorials/issues/149","id":87273659,"user":{"login":"hairychris","id":6599597,"avatar_url":"https://avatars.githubusercontent.com/u/6599597?v=3","gravatar_id":"","url":"https://api.github.com/users/hairychris","html_url":"https://github.com/hairychris","followers_url":"https://api.github.com/users/hairychris/followers","following_url":"https://api.github.com/users/hairychris/following{/other_user}","gists_url":"https://api.github.com/users/hairychris/gists{/gist_id}","starred_url":"https://api.github.com/users/hairychris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairychris/subscriptions","organizations_url":"https://api.github.com/users/hairychris/orgs","repos_url":"https://api.github.com/users/hairychris/repos","events_url":"https://api.github.com/users/hairychris/events{/privacy}","received_events_url":"https://api.github.com/users/hairychris/received_events","type":"User","site_admin":false},"created_at":"2015-03-28T17:49:15Z","updated_at":"2015-03-28T17:49:15Z","body":"Firstly apologies for not continuing on with this, I've been showing a couple of friends how to use Python and trying to remember what worked for me when I was first getting started.\r\n\r\nI do love the idea of keeping the tutorials exactly the same as Ruby to illustrate how the syntax is different but the fundamentals are very similar. That said it would be lovely to be able to cover the following topics:\r\n\r\n1. Fundamentals - Variables, string formatting, dot notation, loops, conditionals, functions, methods, properties, classes, inheritance, python standard library, casting etc etc\r\n\r\n2. Off the ground running - Simple intro to reading from files, models, schemas, serialisation / deserialisation, databases.\r\n\r\n2. Intro to 3rd party code - Using an API with Requests (text messages with Twilio, using the star wars API, Freebase, whatever), use Jinja2 template language stand alone, communicating with a Redis server (taking it too far?)\r\n\r\n3. Web applications - some SQLAlchemy, a short bit of Flask and then point in the direction of the 5 main Python web frameworks (Bottle, Django, Flask, Pyramid, Tornado)  and discuss strengths / weaknesses and point out best resources for each. \r\n\r\n4. RESTful API in Python - Build an API driven project like this one (http://pharma.hairy.io/api/pharmacy/) and then perhaps we can point off to the Angular tutorials (I remember someone mentioning them? did that happen?)\r\n\r\nI know it sounds like a lot of work but I think it would be a good introduction. \r\n\r\nSadly these book are behind a paywall but I do like the topics they cover, I bought them for a friend and can highly recommend them: https://realpython.com\r\n\r\n\r\n\r\n"}}