Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn to Code with Python
Rating: 4.7 out of 5(5,998 ratings)
77,465 students

Learn to Code with Python

The complete Python bootcamp for 2024. Learn Python 3 from beginner to expert. Build complete Python applications.
Created byBoris Paskhaver
Last updated 2/2026
English

What you'll learn

  • Master programming in Python, a popular language that powers codebases in tech companies like Instagram, Pinterest, Dropbox and more
  • Dive into the mechanics of Python's data structures including strings, lists, dictionaries, tuples, and sets
  • Apply your knowledge to solve common interview questions, algorithms and coding challenges
  • Explore a dynamic curriculum with videos, quizzes, written assignments, in-browser coding challenges and more
  • Progress from core language fundamentals to advanced features like classes, decorators and unit testing
  • Build complete projects including card games, web scraping tools, and more!

Coding Exercises

This course includes our updated coding exercises so you can practice your skills as you learn.

See a demo
Image of coding exercise example

Course content

36 sections412 lectures58h 1m total length
  • Welcome to the Python Programming Language11:59

    Welcome to Learn to Code with Python! In this introductory lesson, we'll explore the history and purpose of the Python programming language, and take care of some basic housekeeping for the course.

  • About Me0:56

    Get to know a little about your instructor.

  • About You
  • Download Course Files4:12

    Discusses the differences between the complete and incomplete course files.

  • FREE DOWNLOAD: Learn to Code with Python Course Notes PDF0:17

    Download a PDF containing all the code written in the Learn to Code with Python course.

  • Note on Installation Videos0:23

    Provides helpful notes for following along with installation videos.

  • macOS - Use the Terminal to Issue Commands to Your Operating System9:40

    The Terminal is an application for issuing text commands to the operating system. Long before graphical interfaces, programmers used the Terminal to interact with their computers. Today, the Terminal still offers many advantages -- it's much faster and offers more options for customizing commands. In this lesson, we introduce 3 of the most popular commands needed to interact with the Terminal.

    • The pwd (print working directory) command to output the current directory

    • The ls (list) command to output all files and folders in the current directory

    • The cd (change directory) command to navigate up and down across directories.

  • macOS - Download and Install Python 39:11

    In this lesson,, we head to the official Python website to download the latest version of Python, 3.8. We run through the installation process and then verify proper installation by issuing a few Terminal commands.

  • macOS - Download and Install Visual Studio Code2:01

    Download and install the VSCode code editor on a macOS computer.

  • Windows - Use the Command Prompt to Issue Commands to Your Operating System10:00

    In this lesson, we introduce the Command Prompt, an application for issuing text commands to the operating system. We walk through common commands for navigating across the filesystem, displaying files and folders, and creating / deleting directories. You'll use the Command Prompt occasionally throughout the course to run Python files.

  • Windows - Download and Install Python 37:07

    In this lesson, we download and install the latest version of Python for our Windows computers. We walk through the steps of the installer and verify that the setup was successful.

  • Windows - Download and Install Visual Studio Code3:11

    Microsoft's Visual Studio Code will serve as our text editor throughout the course (although you are welcome to use any editor of your choice). In this lesson, we download and install VSCode for our Windows machine.

  • macOS + Windows - Installing VSCode Plugins5:56
  • macOS + Windows - Configuring VSCode Project Settings13:23
  • macOS - Run Python File9:00
  • Windows - Run Python File10:00
  • The Visual Studio Code (VSCode) Interface and Helpful Shortcuts12:44

    In this lesson, we take a quick tour of the VSCode interface including the project explorer, the search tab, and the extensions tab. We also include some popular shortcuts for navigating around the editor and working with text.

  • The Interactive Prompt (REPL)7:32

    Python offers its own command line application called the interactive prompt. This is a quick and dirty playground where we can experiment with Python. No code is saved to a file for later use. In this lesson, we discuss the process for launching and terminating the prompt, and run a few sample commands.

  • Setup and Installation
  • OPTIONAL: Words of Motivation12:39

    In this optional lesson, I'll share a few tips and tricks that I wish someone had told me when I was learning to code. Programming is an arduous task and it's important to approach it with patience -- you're not going to learn to code over a day, a week, or a month. It requires a consistent effort over several hundreds of hours of practice.

  • General Housekeeping1:04

    This article wraps up Section 1 and offers a preview of the features in the course.

Requirements

  • A Windows, MacOS, or Linux computer
  • An Internet connection
  • A modern text editor (Visual Studio Code is installed and used in the course)
  • Persistence and dedication!

Description

Student Testimonials:

  • The course is extremely well organized with tons of great explanations and exercises for each and every topic imaginable! The instructor is a very good teacher, and gives great feedback, while rapidly answering any questions you may have. Highly recommend the course to anyone interested in Python or programming in general. - Sathvik H.

  • The most comprehensive and personalized learning experience in a programming course. Highly recommend to anyone interested, regardless of experience! - Danny N.

  • The instructor is great. Everything is really well explained. Appropriate for complete beginners as a intro to programming if that is needed. Also good if you are coming from other languages. The instructor also speaks super clearly. - Jon

Learn to Code with Python is a comprehensive introduction to programming in Python, the most popular programming language in the world. Python powers codebases in companies like Google, Facebook, Pinterest, Dropbox, and more. It is used in a variety of disciplines including data science, machine learning, web development, natural language processing, and more.

Over more than 58 hours of video content, we'll tackle the language from A to Z, covering everything you need to know about Python to be an effective developer in 2020.

The course is jam-packed with:

  • 58+ hours of video, with new content added frequently

  • FREE 300-page PDF study manual with all the code samples written throughout the course

  • 60+ coding challenges that you can complete in your browser

  • 40+ multiple-choice quizzes

  • 35+ written assignments

  • Complete programming projects including Texas Hold-Em Poker

Learn to Code with Python is designed from the ground up to take you from novice to professional. Complete beginners are welcome; no prior experience is needed!  Over 400+ videos, we'll work our way from language fundamentals to advanced features. Topics covered include...

  • Setup & Installation

  • Variables

  • Data types

  • Functions and Methods

  • Control Flow

  • Lists and tuples

  • Dictionaries

  • Sets

  • Modules

  • Decorators

  • Classes

  • Exception Handling

  • The Python Standard Library

  • Unit testing

  • Regular Expressions

  • Virtual Environments

  • Web Scraping

...and more!

Throughout the entire journey, I'll be coding alongside you step by step in the code editor. You'll also have the opportunity to test your knowledge through numerous coding challenges, quizzes, and written assignments.

Python holds a special place in my heart -- it was the first language I ever learned! I'm honored to be able to pass on years of knowledge to a new group of avid learners. Whether you are a novice who's never written a line of code before or an experienced developer looking to dive into a new language, there’s something for you to enjoy in Learn to Code with Python.

Thanks for checking out the course!

Who this course is for:

  • New developers eager to tackle a powerful but simple programming language
  • Existing programmers looking to learn Python, the world's most popular programming language
  • Anyone eager to learn the most in-demand skill set of the 21st century!