Skip to content

Python tutorials

Oliver Beckstein edited this page Jan 30, 2018 · 13 revisions

If you want to do more Python exercises then you will find that the internet is full with them. Your instructors have not really comprehensively evaluated them (in fact, we learned Python mostly by having to solve problems and reading documentation, other people's code, and getting advice from kind Python gurus).

However, the following seem to be useful resources --- having them listed here is not a endorsement or guarantee of any kind. Have a look and decide for yourself (feeback is welcome!):

  1. The official Python Beginner's Guide gives various links, but no exercises.
  2. The official Python Tutorial is well worth working through, but if you feel that it already presupposes to much programming then start looking at the following resources, too.
  3. Software Carpentry's Programming with Python (a tutorial that is normally instructor-guided but can be easily done in self-study)
  4. Swaroop CH's A Byte of Python (free online book)
  5. Code Academy's Learn Python (a professional step-by-step tutorial with a substantial amount of free content but some parts of the tutorial require payment; however, the free parts are definitely worth checking out, especially if you like small steps and instant checks that tell you if you did it correctly)
  6. Codefights has a lot of exercises (in Python and many other languages) and "gamifies" them; it also provides challenges and interview questions. (You can sign up with your GitHub account.)
  7. Exercism: Python is quite good, but more suited for intermediate levels. But check it out, it's quite innovative (and free).

Clone this wiki locally