Python Tutorial - W3Schools
Learn Python
Python is a popular programming language.
Python can be used on a server to create web applications.
Start learning Python now » 🏁Tip: Sign in to track your progress.
Learning by Examples
With our "Try it Yourself" editor, you can edit Python code and view the result.
Example
print("Hello, World!") Try it Yourself »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 File Handling
Python Database Handling
In our database section you will learn how to access and work with MySQL and MongoDB databases:
Python MySQL Tutorial
Python MongoDB Tutorial
Python Exercises
Many chapters in this tutorial end with an exercise where you can check your level of knowledge.
See all Python Exercises
Python Examples
Learn by examples! This tutorial supplements all explanations with clarifying examples.
See All Python Examples
Python Quiz
Test your Python skills with a quiz.
Python Quiz
Track Your Progress
Create a W3Schools account and get access to more features and learning materials:
View your completed tutorials, exercises, and quizzes
Keep an eye on your progress and daily streaks
Join the leaderboard and compete with others
Get your own avatar and unlock new skins
Create your own personal website
Sign Up »
Note: This is an optional feature. You can study at W3Schools without creating an account.
Python Reference
You will also find complete function and method references:
Reference Overview Built-in Functions String Methods List / Array Methods Dictionary Methods Tuple Methods Set Methods File Methods Python Keywords Python Exceptions Python Glossary Random Module Requests Module Statistics Module Math Module CMath ModuleDownload Python
Download Python from the official Python web site: https://python.org
Kickstart your career
Get certified by completing the course
Get certified w3schools CERTIFIED . 2025 ❮ Home Next ❯ ★ +1 Sign in to track progressTừ khóa » Học Python Script
-
Học Python 3.x Cơ Bản, Nâng Cao, Có Bài Tập Code Mẫu
-
Học Lập Trình Python - Python Cơ Bản
-
Tự Học PYTHON Cơ Bản Trong 10 PHÚT
-
Python Là Gì? Lập Trình Python Với 20 Tài Liệu Học Python Cực Chất
-
Hướng Dẫn Tự Học Lập Trình Python
-
Bài 1: Giới Thiệu Ngôn Ngữ Lập Trình Python | HowKteam - YouTube
-
Lập Trình Cơ Bản PYTHON Tự Học Cho Người Mới Bắt Đầu
-
Lập Trình Python Cơ Bản | How Kteam
-
Python Cơ Bản - CodeLearn
-
MIỄN PHÍ 100% | Series Tự Học Python Từ Cơ Bản Tới Nâng Cao
-
Tuyển Tập Tài Liệu Tự Học Lập Trình Python - CodeGym
-
Viết Script Python Trong Dynamo - Pyan
-
20 Tài Liệu Học Python Thiết Thực để Trở Thành Lập Trình Viên Chuyên ...
-
Script Là Gì? Script Và Ngôn Ngữ Lập Trình Khác Nhau Thế Nào?