Learning Python

The easiest way to learn a programming language is to first learn the basics and then try to build something with it (learn by doing). And it's better if you are building something you are actually interested in rather than something out of a book because it will get you to think about the problem and be more meaningful. 

Python is easy to learn (not much syntax), easy to read (explicit vs implicit), has a big ecosyste m (more packages/libraries), is taught at universities so it's easy to find good programmers to help, and is used by many large websites/companies (e.g., Quora is programmed in Python) so it's a good language to know.

Online Python Tutorials (in order from introductory to more advanced):

  1. "A Byte of Python" http://www.swaroopch.com/notes/P...
  2. Google's Into to Python Class (online) - http://code.google.com/edu/langu...
  3. "Dive Into Python", by Mark Pilgrim http://diveintopython.org/toc/in...
  4. "The New Boston" Programming Python Tutorials - http://www.youtube.com/user/then...
  5. "Building Skills in Python", by Steven F. Lott - http://homepage.mac.com/s_lott/b...
  6. "Think Python: How to Think Like a Computer Scientist" -http://www.greenteapress.com/thi...
  7. "Code Like a Pythonista: Idiomatic Python"  -http://python.net/~goodger/proje...
  8. OpenCourseWare: MIT 6.00 Introduction to Computer Science and Programming - http://ocw.mit.edu/courses/elect....
  9. MIT 6.01 Course Readings (PDF) - http://mit.edu/6.01/mercurial/sp...
  10. Google's "Understanding Python" (more advanced talk) -
  11. "A Guide to Python's Magic Methods" - http://www.rafekettler.com/magic...
  12. "Metaclasses Demystified" -http://cleverdevil.org/computing...

Book to Get: "Python Cookbook", by Alex Martelli ( http://www.amazon.com/Python-Coo... )

And if you're building something Web based, look at using the Flask Web Framework ( http://flask.pocoo.org/docs/ ).

Flask is a modern, lightweight, and well-documented Python Web framework so you won't have to spend much time learning it or fighting with it -- you won't find yourself asking, "Will I be able to do what I want in the framework without hacking it?" Flask let's you program in Python rather than writing to the framework like you typically have to in larger, opinionated framework's like Django and Rails.

在quora上看到的关于如何入门python的文章, 看了一下1, 2两个推荐,挺不错的。

http://www.quora.com/Python-programming-language-1/How-can-I-learn-to-program-in-Python


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值