Python is a popular programming language.
Python can be used on a server to create web applications.Start learning Python now »
Learning by Examples
With our "Try it Yourself" editor, you can edit Python code and view the result.
Click on the "Try it Yourself" button to see how it works.
Python File Handling
In our File Handling section you will learn how to open, read, write, and delete files.
Python Database Handling
In our database section you will learn how to access and work with MySQL and MongoDB databases:
Learn by examples! This tutorial supplements all explanations with clarifying examples.
Test your Python skills with a quiz.
Track your progress with the free "My Learning" program here at W3Schools.
Log into your account, and start earning points!
This is an optional feature, you can study W3Schools without using My Learning.
You will also find complete function and method references:
Download Python from the official Python web site: https://python.org
Kickstart your career
Get certified by completing the courseGet certified