Fork me on GitHub

Best Python Resources

The Python community is amazing at sharing detailed resources and helping beginners learn to program with the language. There are so many resources out there though that it can be difficult to know how to find them.

This page aggregates the best general Python resources with descriptions of what they provide to readers.

If you prefer to learn by watching videos check out the best Python videos. You may also be interested in reading about development environments to use for coding.

New to programming

If you're learning your first programming language these books were written with you in mind. Developers learning Python as a second or later language should skip down to the next section for "experienced developers".

  • To get an introduction to Python, Django and Flask at the same time, consider purchasing the Real Python course by Fletcher, Michael and Jeremy.

  • This short 5 minute video explains why it's better to think of projects you'd like to build and problems you want to solve with programming. Start working on those projects and problems rather than jumping into a specific language that's recommended to you by a friend.

  • If you've never programmed before check out the Getting Started page on Learn To Code with Me by Laurence Bradford. She's done an incredible job of breaking down the steps beginners should take when they're uncertain about where to begin.

  • Learn Python the Hard Way is a free book by Zed Shaw.

  • Dive into Python 3 is an open source book provided under the Creative Commons license and available in HTML or PDF form.

  • While not Python-specific, Mozilla put together a Learning the Web tutorial for beginners and intermediate web users who want to build websites. It's worth a look from a general web development perspective.

  • A Byte of Python is a beginner's tutorial for the Python language.

  • Code Academy has a Python track for people completely new to programming.

  • Introduction to Programming with Python goes over the basic syntax and control structures in Python. The free book has numerous code examples to go along with each topic.

  • Google put together a great compilation of materials and subjects you should read and learn from if you want to be a professional programmer. Those resources are useful not only for Python beginners but any developer who wants to have a strong professional career in software.

  • The O'Reilly book Think Python: How to Think Like a Computer Scientist is available in HTML form for free on the web.

  • Python Practice Book is a book of Python exercises to help you learn the basic language syntax.

  • Looking for ideas about what projects to use to learn to code? Check out this list of 5 programming project for Python beginners.

  • There's a Udacity course by one of the creators of Reddit that shows how to use Python to build a blog. It's a great introduction to web development concepts through coding.

  • I wrote a quick blog post on learning Python that non-technical folks trying to learn to program may find useful.

Experienced developers new to Python

  • Learn Python in y minutes provides a whirlwind tour of the Python language. The guide is especially useful if you're coming in with previous software development experience and want to quickly grasp how the language is structured.

  • Python for you and me is an approachable book with sections for Python syntax and the major language constructs. The book also contains a short guide at the end to get programmers to write their first Flask web application.

  • Kenneth Reitz's The Hitchhiker’s Guide to Python contains a wealth of information both on the Python programming language and the community.

  • How to Develop Quality Python Code is a good read to begin learning about development environments, application dependencies and project structure.

Beyond the basics

  • The Python Ecosystem: An Introduction provides context for virtual machines, Python packaging, pip, virutalenv and many other topics after learning the basic Python syntax.

  • The Python Subreddit rolls up great Python links and has an active community ready to answer questions from beginners and advanced Python developers alike.

  • Good to Great Python Reads is a collection of intermediate and advanced Python articles around the web focused on nuances and details of the Python language itself.

  • The blog Free Python Tips provides posts on Python topics as well as news for the Python ecosystem.

  • Python Books is a collection of freely available books on Python, Django, and data analysis.

  • Python IAQ: Infrequently Asked Questions is a list of quirky queries on rare Python features and why certain syntax was or was not built into the language.

Videos, screencasts and presentations

Videos from conferences and meetups along with screencasts are listed on the best Python videos page.

Curated Python packages lists

  • awesome-python is an incredible list of Python frameworks, libraries and software. I wish I had this page when I was just getting started.

  • easy-python is like awesome-python although instead of just a Git repository this site is in the Read the Docs format.

Newsletters

  • Python Weekly is a free weekly roundup of the latest Python articles, videos, projects and upcoming events.

  • PyCoder's Weekly is another great free weekly email newsletter similar to Python Weekly. The best resources are generally covered in both newsletters but they often cover different articles and projects from around the web.

  • Import Python is a newer newsletter than Python Weekly and PyCoder's Weekly. So far I've found this newsletter often pulls from different sources than the other two. It's well worth subscribing to all three so you don't miss anything.

Those resources should help you get started. What's next?

I want to learn how to code a Python web application using a framework.

I've built a Python web app, now how do I deploy it?

What editor should I use to code my Python app?

Sign up here to receive an email with major updates to this site and Python tutorials delivered to your inbox once a month.