Python 101: Interactively learn how to program with Python 3
This is a 101-level course in Python that will help you learn to program in Python for free.
Beginner
161 Lessons
10h
Certificate of Completion
This is a 101-level course in Python that will help you learn to program in Python for free.
AI-POWERED
Explanations
AI-POWERED
Explanations
This course includes
222 Playgrounds
This course includes
222 Playgrounds
Course Overview
Course Content
Course Overview
Welcome to Python 101! I created this course to help you learn Python 3. My objective is to get you acquainted with the building blocks of Python so that you can write something useful yourself. With interactive playgrounds to help you learn right away, I will endeavor to not only get you up to speed on the basics, but also to show you how to create useful programs.
This course will be split into five parts:
Part-I covers Python's basics.
Part-II is a small subset of Python's Standard Library.
Part-III is...Show More
TAKEAWAY SKILLS
Python
Programming Language
Course Content
1
All About Strings
In this chapter, you will learn how to handle Python strings, including creation, manipulation, slicing techniques, and formatting for efficient programming.
Learn how loops in Python enable repeated operations through for and while constructs, simplifying repetitive coding tasks with various control mechanisms.
In this chapter, you will learn how Python comprehensions create lists, dictionaries, and sets efficiently, making your code cleaner and more readable.
This chapter explores file handling in Python, including reading, writing, efficient processing, error management, and best practices with the `with` operator.
In this chapter, you will learn how to use Python classes, covering their structure, instance management, and the principles of inheritance and polymorphism.
In this chapter, you will learn how to use Python’s `configparser` module for managing configuration files, including creation, manipulation, and interpolation.
This chapter teaches how to use Python’s logging for effective debugging, covering structured logging, multi-module support, and configuration options.
Learn how the subprocess module in Python facilitates process initiation and management, supports safe execution, and communicates with external applications.
In this chapter, you will discover how Python decorators can refine function behavior, promote cleaner code, and simplify logging and attribute handling.
Learn how code profiling in Python helps identify performance issues, enabling optimizations through tools like `cProfile` and `timeit` for enhanced efficiency.
This chapter teaches you about Python’s testing tools, such as `doctest` and `unittest`, and their role in Test Driven Development for better coding practices.
This chapter teaches how ConfigObj improves Python configuration management by supporting nested sections, validation, and dictionary-like integration.
This chapter teaches you how pylint and pyflakes can be used for Python code analysis, highlighting their role in identifying errors and enhancing code quality.
In this chapter, you will learn how SQLAlchemy, a Python ORM, simplifies database creation, data manipulation, and querying with its powerful features.
This chapter teaches you how to develop Python modules and packages, highlighting their structure and usability for more organized and efficient programming.
This chapter focuses on cx_Freeze, a tool for converting Python scripts into executables, covering installation, basic usage, and advanced setup techniques.
In this chapter, you will learn how PyInstaller creates standalone executables from Python scripts, ensuring compatibility across various operating systems.
Trusted by 1.4 million developers working at companies
Anthony Walker
@_webarchitect_
Emma Bostian 🐞
@EmmaBostian
Evan Dunbar
ML Engineer
Carlos Matias La Borde
Software Developer
Souvik Kundu
Front-end Developer
Vinay Krishnaiah
Software Developer
Eric Downs
Musician/Entrepeneur
Kenan Eyvazov
DevOps Engineer
Anthony Walker
@_webarchitect_
Emma Bostian 🐞
@EmmaBostian
Hands-on Learning Powered by AI
See how Educative uses AI to make your learning more immersive than ever before.
Instant Code Feedback
Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.
AI-Powered Mock Interviews
Put your skills to the test in a simulated interview setting. Receive personalized feedback based on your performance. Available in Premium & Premium Plus plans.
Adaptive Learning
At various checkpoints throughout Educative courses, you will be prompted to take a quick assessment. Receive a condensed curriculum tailored to your strengths and skill gaps.
Explain with AI
Select any text within any Educative course, and get an instant explanation — without ever leaving your browser.
AI Code Mentor
AI Code Mentor helps you quickly identify errors in your code, learn from your mistakes, and nudge you in the right direction — just like a 1:1 tutor!
FOR TEAMS
Interested in this course for your business or team?
Unlock this course (and 1,000+ more) for your entire org with DevPath