Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Python for Everybody with Dr. Chuck (PY4E)
New
11 students

Python for Everybody with Dr. Chuck (PY4E)

Learn Python from scratch: variables, loops, files, lists, and dictionaries
Last updated 8/2026
English
English

What you'll learn

  • You will be able to write simple Python programs using variables, expressions, and input/output
  • You will be able to use conditional execution and loops to make decisions and process data repeatedly
  • You will be able to define and call your own functions to store and reuse code
  • You will be able to read and process text files line by line in Python
  • You will be able to work with Python collections: strings, lists, dictionaries, and tuples
  • You will be able to search and extract data from text using regular expressions
  • You will know the answer to life the universe, and everything

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

11 sections44 lectures7h 37m total length
  • Text Book For the Course (Free)0:06
  • PY 01.01 Why Program - Part 1 (12:31)12:30

    This lecture introduces the fundamental purpose of programming: to instruct computers to solve problems by writing sequences of instructions for hardware resources such as the CPU, memory, and disk. The course begins with a practical text analysis task, counting the most common word in a text file, to demonstrate how programming can automate problem-solving.

    It emphasizes the contrast between human error correction and computer literal processing, where precise instructions are essential. The course teaches Python programming to enable users to create programs that solve their own problems, starting with simple text analysis tasks.

  • PY 01.02 Hardware Architecture Fundamentals: CPU, Memory, and Storage (12:16)12:15

    This lecture covers the fundamental hardware components: central processing unit (CPU), main memory, and secondary storage. Main memory is volatile and loses data when powered off, while secondary storage provides persistent data storage.

    The lecture contrasts hardware from the 1960s and 1970s with modern systems such as the Raspberry Pi. It details the evolution of secondary storage from magnetic hard drives to flash memory and explains how high-level programming languages like Python translate code into machine language.

  • PY 01.03 Python Language: History, Syntax, and Interactive Shell (7:48)7:48

    Python was created by Guido Van Rossum approximately 20 years ago and named after Monty Python's Flying Circus, not Harry Potter. The language was designed to be both powerful and easy to learn, balancing simplicity with functionality.

    The lecture explains that syntax errors are common in Python and not a reflection of the programmer's worth but rather the computer's attempt to understand the code. The interactive shell, accessed by running the python command in the terminal, allows users to test basic syntax such as variable assignments and print statements.

  • PY 01.04 Python Programming: Reserved Words, Statements, and Basic Structures (112:35

    This lecture covers the introductory concepts of Python programming, including reserved words, assignment statements, and print statements. It explains that a Python program consists of sequential lines of code that execute in order.

    The lecture demonstrates how to combine sequential execution, conditional statements, and repeated steps to create a program that counts word frequencies in a file. These fundamental concepts form the basis for more complex programs and are expanded upon in subsequent chapters.

  • Chapter 1 Quiz
  • PY 01.10 Using the Udemy Autograder and Other Tools to Complete Coding Exercises5:34
  • Write Hello World

Requirements

  • No prior programming experience is required
  • No prior mathematics experience is required
  • Willingness to type programs and experiment — making mistakes is part of learning
  • No computer is needed - all of the programming cna be done online in a browser.

Description

Welcome to Python for Everybody. This course teaches you to program in Python even if you have never written a line of code. You start with the big picture: why people learn to program, how a computer’s CPU, memory, and storage work together, and how Python fits in as a language you can read and write.

From there you build the core skills step by step. You learn variables, expressions, and statements so you can store data and do calculations. You use conditional execution so programs can make decisions, and you practice loops so you can repeat work over data. You learn functions—the “store and reuse” pattern—so you can organize code into pieces you call when you need them.

Then the course moves into text and real data. You work with strings, open and read files, and process lines of text. You learn Python’s main collections for holding many values: lists, dictionaries, and tuples. You use dictionaries to count things (histograms), and tuples to sort data effectively. Finally, you get an introduction to regular expressions so you can search for patterns and extract information from text with the `re` library.  You can think of regular expressions as a second (very small) programming language for you to learn.

Along the way, worked-exercise videos walk through sample problems so you can see how the ideas turn into working programs. The tone is practical and beginner-friendly: small examples, clear patterns, and enough detail to help you when Python gives you an error message.

All of the programming can be done in a browser - there is no need to install Python if you do not or cannot install software on your computer.   It can be done on a ChromeBook, iPad or even a phone.

Who this course is for:

  • This course is for beginners who want a clear, practical introduction to Python. It is a good fit if you have never programmed before, if you are curious how software really works under the hood, or if you want enough Python to read files, work with data in lists and dictionaries, and extract information from text. It is also useful for students and professionals who prefer a patient, example-driven style with worked exercises after the lectures. It is not aimed at experienced developers looking for advanced Python, web frameworks, or a job-interview crash course.