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

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

Learn how to use strings, string methods, slicing, and formatting in Python.
2.

Lists, Tuples and Dictionaries

Look at essential Python data types: lists, tuples, and dictionaries for foundational programming.
3.

Conditional Statements

Break apart using if/elif/else, Boolean logic, and input handling for decision-making in Python.
4.

Loops

Grasp the fundamentals of Python loops, including for and while loops, for repetitive tasks.
5.

Python Comprehensions

Dig into Python comprehensions for creating lists, dictionaries, and sets efficiently.
6.

Exception Handling

5 Lessons

Investigate managing errors in Python using try/except, common exceptions, and finally/else statements.
7.

Working with Files

6 Lessons

Master the steps to file handling in Python, including reading, writing, and error management.
8.

Importing

4 Lessons

Step through methods of importing Python modules to enhance your programming.
9.

Functions

6 Lessons

Walk through creating and using Python functions, from arguments to scope and DRY principles.
10.

Classes

4 Lessons

Examine classes, self, subclasses, and creating instances for effective Python programming.
11.

Introspection

4 Lessons

Enhance your skills in Python introspection, utilizing `dir`, `type`, and `help` functions effectively.
12.

The CSV Module

3 Lessons

Solve problems in reading and writing CSV files using Python’s csv module effectively.
13.

configparser

4 Lessons

See how to manage application settings with Python's configparser module.
14.

Logging

4 Lessons

Practice using Python's logging module to create, configure, and format logs effectively.
15.

The os Module

5 Lessons

Learn how to use the os module to manage directories, files, and environment variables in Python.
16.

Sending emails

4 Lessons

Get started with sending emails in Python using smtplib and email modules.
17.

The SQLite Module

4 Lessons

Examine using SQLite within Python, covering database creation, updating, deleting records, and executing queries.
18.

The subprocess Module

4 Lessons

Apply your skills to manage processes using Python's subprocess module efficiently.
19.

The sys Module

1 Lesson

Take a closer look at Python's sys module for system-specific parameters and functions.
20.

The threading module

2 Lessons

Simplify complex topics like Python threading and creating responsive threaded downloaders.
21.

Working with Dates and Time

3 Lessons

Master working with Python's datetime and time modules for comprehensive date and time handling.
22.

The xml module

6 Lessons

Learn how to use Python's xml module for parsing, creating, and editing XML files.
23.

The Python Debugger

4 Lessons

Get started with Python's pdb module to debug efficiently using breakpoints and stepping through code.
24.

Decorators

5 Lessons

Examine how Python decorators modify function behavior, add logging, and manage class attributes.
25.

The lambda

2 Lessons

Apply your skills to leveraging lambda functions for concise, efficient coding in Python projects.
26.

Code Profiling

2 Lessons

Take a closer look at identifying and optimizing performance bottlenecks using Python's cProfile.
27.

An Intro to Testing

4 Lessons

Investigate testing Python code using doctest and unittest for robust and accurate programming.
28.

Installing Modules

5 Lessons

Master the steps to installing Python packages using source, easy_install, and pip efficiently.
29.

ConfigObj

2 Lessons

Learn how to use ConfigObj for managing and validating Python configuration files effectively.
30.

Parsing XML with lxml

5 Lessons

Grasp the fundamentals of utilizing lxml for XML parsing and creation in Python.
31.

Python Code Analysis

3 Lessons

Work your way through enhancing Python code quality using pylint and pyflakes analysis tools.
32.

The requests package

2 Lessons

Break down complex ideas about using the requests package for HTTP requests and web forms.
33.

SQLAlchemy

6 Lessons

Dive into SQLAlchemy, exploring database creation, data manipulation, and executing queries with Python.
34.

virtualenv

2 Lessons

Simplify complex topics on setting up and managing Python virtual environments and dependencies.
35.

Creating Modules and Packages

3 Lessons

Master the steps to create and organize Python modules and packages effectively.
36.

How to Add Your Code to PyPI

4 Lessons

Learn how to use setuptools and distutils to upload Python packages to PyPI.
37.

The Python egg

2 Lessons

Unpack the core of Python eggs for package distribution and management in Python.
38.

Python wheels

3 Lessons

Examine the significance, creation, and installation of Python wheel files.
39.

py2exe

4 Lessons

Grasp the fundamentals of creating Windows executables from Python applications using py2exe.
40.

bbfreeze

3 Lessons

Dig into creating cross-platform Python binaries with bbfreeze for efficient distribution.
41.

cx_Freeze

3 Lessons

Follow the process of creating Python executables with cx_Freeze for cross-platform use.
42.

PyInstaller

3 Lessons

Master creating standalone executables with PyInstaller, handling configurations, and integrating wxPython.
43.

Creating an Installer

3 Lessons

Try out creating installers with GUI2Exe and Inno Setup, enabling seamless distribution.

Course Author

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

Adaptive Learning

Explain with AI

AI Code Mentor