ℹ️ ℹ️ I have shifted updates to this Python learning resource collection to https://learnbyexample.github.io/py_resources/ which is better organized and includes a handy search feature.
Check out Getting Started from Python official website for installation, IDEs, text editors and other details.
- Courses — online text
- Courses — online video/interactive
- Books
- Docs and Cheat-Sheets
- Practice sites
- Python Projects
- In-depth analysis/tutorial of single concept
- Handy tools
- Further Reading
- Other Python resource lists
- Development Environment
- Forums
For beginners to programming and Python
- Automate the Boring Stuff with Python
- also visit inventwithpython for more stuff from this author
- Think Python
- also freely available as pdf
- How to Think Like a Computer Scientist: Interactive Edition is inspired by Think Python
- A Whirlwind Tour of Python
For intermediate and advanced users
- udemy — automatetheboringstuff
- calmcode — various topics for beginners to advanced users
- coursera — getting started with Python
- edx — Introduction to Computer Science and Programming Using Python
- pythonprogramming — various topics for beginners to advanced users
- youtube — Corey Schafer — various topics for beginners to advanced users
- Python 3 official docs
- Python Crash Course cheatsheet
- Comprehensive Python cheatsheet
- Scientific Python cheatsheet
- 40 handy tricks — published in 2014, so some of the tricks might have newer solutions
- Python tips and features on Stackoverflow — thread locked in 2012
- Exploring and understanding Python through surprising snippets
- Transforming Code into Beautiful, Idiomatic Python which is based on this video
- exercism — beginner friendly
- practicepython — beginner friendly
- edabit — beginner friendly
- Auto-Graded Course with Solutions — beginner friendly
- codewars
- adventofcode
- projecteuler
- hackerrank
- /r/dailyprogrammer
- Gamification
- Projects on various topics with solutions
- Project based learning
- rosettacode
- pytudes by Peter Norvig
- See this illustration for features like generators, collections, itertools, decorators, etc in action
- Collections
- Decorators
- Lists
- Iterables, Generators, Yield, Itertools
- lambda — what it is and when to use
- OOP
- Python Virtual Environments
- Regular Expressions:
- docs.python: re module and docs.python: Regular Expression HOWTO
- Python re(gex)? — my book on regular expressions
- rexegg — tutorials, tricks and more
- regular-expressions — tutorials and tools
- regexone — interactive tutorial, also has a quick reference
- stackoverflow: comprehensive list of regex FAQ and stackoverflow: regex overview
- regex101 — visual aid and online testing tool for regular expressions, select flavor as Python before use
- debuggex — railroad diagrams for regular expressions, select flavor as Python before use
- string formatting
- working with binary data
- Python Q&A on stackoverflow
- Python packaging guide
- profiling Python code for performance
- Visualize code execution — also has example codes and ability to share sessions
- CodeSkulptor — runs Python programs in your browser, including GUI and has many demos
- Thonny — Python IDE for beginners, lots of handy features like viewing variables, debugger, step through, highlight syntax errors, name completion, etc
- Data Science
- GUI, Game and Web
- gui development tutorials
- kivy crash course
- remi module — create platform independent GUI with Python (by converting to HTML)
- Bokeh — Python interactive visualization library
- django, djangogirls and flask
- static website generators pelican and Cactus
- anvil — drag & drop web-app builder
- web product — a complete functional web app with a database and user support
- web scraping
- Testing and TDD
- Test-Driven Development with Python — focussed on web-development
- learn Python via TDD
- defensive programming
- pycontracts
- is unit testing worth the effort
- Style guide
- The Hitchhiker’s Guide to Python!
- Python 3 Module of the Week
- Problem solving with Algorithms and Data Structures
- realpython — blog
- Create beautiful command-line interfaces with Python
- collection of design patterns and idioms
- curated videos on Python
- github — trending Python projects and top devs and repos to follow
- A gallery of interesting IPython Notebooks
- One-liners: #1, #2, #3
- wiki from /r/learnpython
- github — awesome-python
- github — pycrumbs
- github — pythonidae
- stackoverflow
- zeef — alan richmond
- zeef — luis solis
- messybytes
- EDU-SIG: Python in Education
- pycharm
- spyder — scientific environment
- Jupyter — web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text
- Vim — customizing .vimrc for Python and python-mode
Read instructions provided by respective forums before asking a question. Try solving it yourself before asking — searching online, manual, ask a colleague, etc.
- /r/learnpython — very friendly for newbies
- python-forum
- /r/Python/ — general Python discussion
- stackoverflow