Learn Python Programming
Python is one of the easiest programming languages to start with, and it is used everywhere: web apps, data analysis, machine learning, automation and desktop programs. This site has a free tutorial for every part of it, with short explanations and code you can copy and run.
New here? Read the getting started page, then the variables and for loops pages below. Every page stands on its own, so you can also jump straight to what you need.
If you want to practise this yourself, practice Python exercises on PyChallenge runs right in your browser, no setup.
What is Python?
Python is a computer programming language that lets you work more quickly than other programming languages.
This tutorial will help you to Learn Python. If you aspire to be a Python developer, this can help you get started.
Tutorial
First steps
Datatypes
Control structures
Intermediate
OOP
- Class
- Class attributes
- Class methods
- Constructor
- Python self
- Overriding methods
- Python json
- Static methods
- Abstract base classes
- Multiple inheritance
- Encapsulation
- Garbage collection
- Destructor
- Inheritance
- Object serialization pickle
Python GUI
More Python
- Machine Learning
- Network Socket Client
- Network Socket Server
- Telnet
- Download files
- Read CSV
- Get images from webpage
- Python switch case
- Python zip function
- Python input function
- Python Flask tutorial
- Python Flask example
- Python Flask vs Django
- Python Flask API
- Python Flask Framework
- Python Flask Websocket
- Django Hello World
If you want to see this used on real problems instead of toy examples, the Practical Python Bundle has seven short projects built around everyday Python.
Want more practice on this? Practise this on PyChallenge, there are short browser exercises you can run right after reading.
