- Python Tutorial
- Learning by Examples
- Example
- Python File Handling
- Python Database Handling
- Python Exercises
- Python Examples
- Python Quiz
- My Learning
- Python Reference
- Download Python
- Python Exam — Get Your Diploma!
- Kickstart your career
- COLOR PICKER
- Report Error
- Thank You For Helping Us!
- Learn Python – Free Python Courses for Beginners
- Learn Python — Full Course for Beginners
- Programming for Everybody (Getting Started with Python)
- The Python Handbook
- Python Tutorials for Absolute Beginners by CS Dojo
- Python Tutorial — Python for Beginners
- Studytonight Python Courses
- Python Crash Course for Beginners
- Python Core
- Python Basics with Sam
- Python Beginner Tutorials
- Python Tutorial
- Automate the Boring Stuff with Python
- Learn Python in 12 Hours (Python Tutorial For Beginners)
- Python Tutorial for Beginners (Learn Python in 5 Hours)
- Scientific Computing with Python
- Welcome
- Learn the Basics
- Data Science Tutorials
- Advanced Tutorials
- Other Python Tutorials
- Contributing Tutorials
- Welcome
- Learn the Basics
- Data Science Tutorials
- Advanced Tutorials
- Other Python Tutorials
- Contributing Tutorials
Python Tutorial
Python can be used on a server to create web applications.
Learning by Examples
With our «Try it Yourself» editor, you can edit Python code and view the result.
Example
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:
Python Exercises
Python Examples
Learn by examples! This tutorial supplements all explanations with clarifying examples.
Python Quiz
Test your Python skills with a quiz.
My Learning
Track your progress with the free «My Learning» program here at W3Schools.
Log in to your account, and start earning points!
This is an optional feature. You can study W3Schools without using My Learning.
Python Reference
You will also find complete function and method references:
Download Python
Download Python from the official Python web site: https://python.org
Python Exam — Get Your Diploma!
Kickstart your career
Get certified by completing the course
COLOR PICKER
Report Error
If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail:
Thank You For Helping Us!
Your message has been sent to W3Schools.
Top Tutorials
Top References
Top Examples
Get Certified
W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.
Learn Python – Free Python Courses for Beginners
Python is a great programming language to learn and you can use it in a variety of areas in software development.
You can use Python for web development, data analysis, machine learning, artificial intelligence, and more.
In this article, I will list out 15 free Python courses for beginners.
- Learn Python — Full Course for Beginners — freeCodeCamp
- Programming for Everybody (Getting Started with Python) — University of Michigan
- The Python Handbook — Flavio Copes
- Python Tutorials for Absolute Beginners by CS Dojo — CS Dojo
- Python Tutorial (Python for Beginners) — Programming with Mosh
- Studytonight Python Courses — Studytonight
- Python Crash Course for Beginners — Traversy Media
- Python Core — SoloLearn
- Python Basics with Sam — freeCodeCamp
- Python Beginner Tutorials — Pythonspot
- Python Tutorial — PythonForBeginners
- Automate the Boring Stuff with Python — Al Sweigart
- Learn Python in 12 Hours (Python Tutorial For Beginners) — Edureka
- Python Tutorial for Beginners (Learn Python in 5 Hours) — TechWorld with Nana
- Scientific Computing with Python — freeCodeCamp
Learn Python — Full Course for Beginners
In this freeCodeCamp YouTube Course, you will learn programming basics such as lists, conditionals, strings, tuples, functions, classes and more.
You will also build several small projects like a basic calculator, mad libs game, a translator app, and a guessing game.
Programming for Everybody (Getting Started with Python)
In this University of Michigan course, you will learn about functions, loops, conditionals, variables and more from the famous «Dr. Chuck».
Once you learn the basics, you can continue on through the rest of the specialization and take the Python Data Structures course, the Using Python to Access Web Data course, and the Using Databases with Python course.
The Python Handbook
In this Flavio Copes book, you will learn about strings, lists, tuples, recursion, and more.
You will also learn how to install 3rd party packages and how to work with virtual environments.
Python Tutorials for Absolute Beginners by CS Dojo
In this series of Beginner Python YouTube videos by CS Dojo, you will learn about dictionaries, loops, functions, objects and more.
Python Tutorial — Python for Beginners
In this Programming with Mosh YouTube course, you will learn programming basics like variables, loops, strings, tuples, functions, classes and more.
You will also build three projects: one on automation, one on machine learning, and one on building a website with Django.
For additional practice, you can go through Mosh’s 53 Python Exercises for Beginners.
Studytonight Python Courses
In Studytonight, you will learn about Python basics, error handling, OOP, file handling, complex datatypes, Multithreading and more.
Once you have learned the basics, you can move onto their other modules which include, the NumPy library, Matplotlib, Tkinter, Network Programming in Python, and Web Scraping using Beautiful Soup.
Python Crash Course for Beginners
In this Brad Traversy YouTube course, you will learn about lists, tuples, dictionaries, functions, classes and more. Brad will also show you how to work with files and JSON data.
Python Core
In SoloLearn’s Python Course, you will learn about strings, variables, OOP, functional programming and more. There are plenty of quizzes, challenges and projects that you can build along the way.
In order to get started, you will need to create a free account.
Python Basics with Sam
In this Sam Focht YouTube Series, you will learn about loops, functions, strings, recursion and more.
You will also build several projects including a guessing game, shopping list, a board game, and a random password generator.
Python Beginner Tutorials
In this series of Pythonspot beginner tutorials, you will learn about data types, tuples, objects, classes, dictionaries and more. You will also learn about advanced concepts like recursion, lambda, and threading.
Once you cover the basics, you can move onto machine learning, databases, and GUI’s.
Python Tutorial
In this PythonForBeginners tutorial, you will learn about functions, loops, lists, conditionals, error handling and more.
Once you learn the basics, you can explore the other modules on the site including Web Scraping with BeautifulSoup and Using the YouTube API in Python.
Automate the Boring Stuff with Python
In the Automate the Boring Stuff with Python online book, you will learn about dictionaries, strings, debugging, regular expressions and more.
If you prefer a video format, then you can go through the YouTube series that Al Sweigart put together.
Learn Python in 12 Hours (Python Tutorial For Beginners)
In this 12 hour YouTube Edureka course, you will learn about functions, loops, lists, conditionals, error handling and more.
This course will also talk about career opportunities in Python and salary expectations for Python developers.
Python Tutorial for Beginners (Learn Python in 5 Hours)
In this TechWorld with Nana YouTube course, you will learn about strings, variables, OOP, functional programming and more. You will also build a couple of projects including a countdown app and a project focused on API requests to Gitlab.
Scientific Computing with Python
In this freeCodeCamp certification course, you will learn about loops, lists, dictionaries, networking, web services and more.
Welcome
Welcome to the LearnPython.org interactive Python tutorial.
Whether you are an experienced programmer or not, this website is intended for everyone who wishes to learn the Python programming language.
You are welcome to join our group on Facebook for questions, discussions and updates.
After you complete the tutorials, you can get certified at LearnX and add your certification to your LinkedIn profile.
Just click on the chapter you wish to begin from, and follow the instructions. Good luck!
Learn the Basics
- Hello, World!
- Variables and Types
- Lists
- Basic Operators
- String Formatting
- Basic String Operations
- Conditions
- Loops
- Functions
- Classes and Objects
- Dictionaries
- Modules and Packages
Data Science Tutorials
Advanced Tutorials
- Generators
- List Comprehensions
- Lambda functions
- Multiple Function Arguments
- Regular Expressions
- Exception Handling
- Sets
- Serialization
- Partial functions
- Code Introspection
- Closures
- Decorators
- Map, Filter, Reduce
Other Python Tutorials
- DataCamp has tons of great interactive Python Tutorials covering data manipulation, data visualization, statistics, machine learning, and more
- Read Python Tutorials and References course from After Hours Programming
Contributing Tutorials
This site is generously supported by DataCamp. DataCamp offers online interactive Python Tutorials for Data Science. Join over a million other learners and get started learning Python for data science today!
Ready to take the test? Head onto LearnX and get your Python Certification!
Welcome
Welcome to the LearnPython.org interactive Python tutorial.
Whether you are an experienced programmer or not, this website is intended for everyone who wishes to learn the Python programming language.
You are welcome to join our group on Facebook for questions, discussions and updates.
After you complete the tutorials, you can get certified at LearnX and add your certification to your LinkedIn profile.
Just click on the chapter you wish to begin from, and follow the instructions. Good luck!
Learn the Basics
- Hello, World!
- Variables and Types
- Lists
- Basic Operators
- String Formatting
- Basic String Operations
- Conditions
- Loops
- Functions
- Classes and Objects
- Dictionaries
- Modules and Packages
Data Science Tutorials
Advanced Tutorials
- Generators
- List Comprehensions
- Lambda functions
- Multiple Function Arguments
- Regular Expressions
- Exception Handling
- Sets
- Serialization
- Partial functions
- Code Introspection
- Closures
- Decorators
- Map, Filter, Reduce
Other Python Tutorials
- DataCamp has tons of great interactive Python Tutorials covering data manipulation, data visualization, statistics, machine learning, and more
- Read Python Tutorials and References course from After Hours Programming
Contributing Tutorials
This site is generously supported by DataCamp. DataCamp offers online interactive Python Tutorials for Data Science. Join over a million other learners and get started learning Python for data science today!
Ready to take the test? Head onto LearnX and get your Python Certification!