Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Complete Python Bootcamp: Learn Python from Scratch
New
3 students

Complete Python Bootcamp: Learn Python from Scratch

Master Python programming with 100 hands-on lessons covering variables, loops, functions, OOP, files and a project.
Last updated 11/2026
English

What you'll learn

  • Learn Python programming from scratch through 100 hands-on coding lessons.
  • Install Python, configure a development environment, and execute Python scripts.
  • Understand Python variables, data types, operators, and type conversion.
  • Manipulate strings using indexing, slicing, string methods, and f-strings.
  • Implement decision-making logic using conditional statements and Boolean expressions.
  • Automate repetitive programming tasks using for loops, while loops, and nested loops.
  • Create and manipulate Python data structures, including lists, tuples, dictionaries, and sets.
  • Develop reusable functions using parameters, arguments, return values, and variable scope.
  • Read, write, and process text files, CSV files, and JSON data.
  • Identify, debug, and handle common Python programming errors using exception handling.
  • Work with Python modules, standard libraries, imports, and package management using pip.
  • Implement Object-Oriented Programming (OOP) using classes, objects, methods, and inheritance.
  • Validate Python functions using assertions and basic testing techniques.
  • Build a complete Python Task Tracker application with persistent storage and error handling.
  • Develop a strong Python programming foundation for future learning in AI, machine learning, data science, and automation.

Course content

12 sections • 100 lectures • 13h 3m total length
  • Installing Python and Checking Your Setup3:45

    Installing Python and Checking Your Setup. Every journey in programming starts with getting the right tools onto your computer. In this lecture you install Python and confirm that it works, so that every later lesson can focus on writing code and not on fixing your setup.


    We begin by explaining what Python is. It is a programming language, which means a way of giving a computer instructions in text that a person can read. To run those instructions, your computer needs a program called the Python interpreter. You will download the current version of Python 3 from the official website, run the installer for your operating system and make sure the option that adds Python to your path is selected on Windows, since forgetting it is the most common beginner problem.


    Next you will check the installation. You will open a terminal or command prompt and type a short command that asks Python for its version number. Seeing a version number appear means the interpreter can be found. We also talk about the difference between the python and python3 commands on different systems, so that you know which to use.


    You will also choose a code editor. We discuss free options such as Visual Studio Code and IDLE, which comes with Python, and how to create a folder for your course files.


    If something goes wrong, we look at the usual causes and their fixes.


    By the end of this lecture you will have a working Python installation, a place to save your files and confidence that your setup is ready.

  • Your First Script: Hello, World4:18

    Your First Script: Hello, World. Nearly every programmer begins with the same tiny program, one that displays the words Hello, World. It is a tradition, and it is also a genuinely useful test, because it proves that you can write a program, save it and run it. This lecture walks you through every step.


    You will open your editor, create a new file and save it with a name that ends in .py, which tells your computer that it holds Python code. Then you will type a single line that uses the print function, with the message placed inside quotation marks and parentheses. We explain each piece slowly. The word print is the name of a function, which is a ready-made action. The parentheses hold what the function should work with. The quotation marks tell Python that the contents are text and not a command.


    Next you will run the file from the terminal and watch the message appear. We discuss what actually happens: Python reads the file from top to bottom and carries out each line in order. You will also see that the file can be run again and again, with the same result every time.


    We then experiment. You will change the message, add a second print line and see the output grow, which shows that the order of lines matters.


    By the end of this lecture you will be able to write, save and run a Python script that displays a message of your choice.

  • Printing Text with Strings4:12

    Printing Text with Strings. Text is one of the most common kinds of information in any program, and in Python a piece of text is called a string. This lecture teaches you how to create strings and display them using print.


    You will begin by writing strings with single quotation marks and with double quotation marks, and discover that they behave the same way. We explain why both exist. If your text contains an apostrophe, such as in the word it's, wrapping it in double quotation marks avoids confusion, and the reverse is also true. You will see the error that appears when quotation marks do not match, and learn how to read it.


    Next we look at special characters. A backslash followed by a letter creates effects such as a new line or a tab, and a backslash before a quotation mark lets you include that mark inside your text. You will try the new line, the tab and the escaped quotation mark, and see exactly how they change the output.


    We also discuss empty strings, strings that contain spaces and how Python treats a string that looks like a number. The important lesson is that quotation marks turn anything into text.


    You will practice by printing a short greeting, a sentence containing an apostrophe and a line of text split across two lines.


    By the end of this lecture you will be able to create and print strings confidently, including text with quotation marks and special characters.

  • Printing Multiple Lines and Values5:45

    Printing Multiple Lines and Values. Programs rarely display just one thing. They show several lines, mix words with numbers and arrange output so a person can read it. This lecture explores the print function in more depth, so that you can control exactly what appears on the screen.


    You will start by calling print several times to produce several lines, and then learn that a single call can display many values at once when you separate them with commas. Python places a space between them automatically, and you will see how to mix text and numbers in the same call without any trouble.


    Next we meet two options of the print function. The sep option changes the separator placed between values, so you can use a dash, a comma or nothing at all. The end option changes what is printed after the message, which normally is a new line. By setting it to something else, you can keep several print calls on the same line. You will try each option and predict the result before running the code, which is a valuable habit.


    We also discuss printing blank lines to space out your output, and using the new line character inside a string to create several lines with a single call.


    You will finish with a small exercise that prints a tidy receipt-style summary made of several lines and values.


    By the end of this lecture you will be able to display multiple lines and values and control their layout with sep and end.

  • Printing Numbers and Simple Math5:13

    Printing Numbers and Simple Math. Python is also a powerful calculator. In this lecture you use it to do arithmetic, and you learn how numbers differ from text when you print them.


    You will begin by printing a number directly, noticing that it needs no quotation marks. Then you will print the result of simple sums: addition with the plus sign, subtraction with the minus sign, multiplication with an asterisk and division with a forward slash. We point out that the asterisk and slash differ from the symbols you may have used in school, and why.


    Next we meet other useful operators. Double slash performs division and discards the remainder, the percent sign gives the remainder itself, and double asterisks raise a number to a power. You will try each one with small numbers where you can check the answer in your head. We explain that dividing with a single slash always gives a decimal result, even when the numbers divide evenly.


    We discuss the order of operations. Python follows the same rules as mathematics, multiplying before adding, and you can use parentheses to control the order. You will compare an expression with and without parentheses and see that the answers differ.


    Finally, you will see the difference between printing the text 2 + 3 in quotation marks and printing the expression 2 + 3 without them. One is displayed as written, and the other is calculated.


    By the end of this lecture you will be able to perform basic arithmetic in Python and print the results correctly.

  • Adding Comments to Your Code5:06

    Adding Comments to Your Code. Code is read far more often than it is written, by other people and by your future self. Comments are notes inside your code that Python ignores, and they help readers understand what the code is for. This lecture teaches you to write them well.


    You will begin with the hash symbol. Anything after it on a line is a comment, so Python skips it completely. You will add a comment on its own line above some code, and a short one at the end of a line of code, and run the program to confirm that the output does not change.


    We then discuss what makes a good comment. A comment should explain why something is done, or what a section is trying to achieve, not simply repeat the code in words. We compare a useless comment, such as one that says print a message above a print call, with a helpful one that explains the purpose of a calculation. Short, clear comments are better than long ones.


    You will also learn to use comments to disable a line of code temporarily, which is a useful technique when you are testing and want to see what happens without that line. We mention that the comment should be removed or restored afterward, so that the file stays tidy.


    We introduce the idea of a header comment at the top of a file, giving its name and purpose.


    By the end of this lecture you will be able to write helpful comments and use them to organize and temporarily disable code.

  • Reading Your First Error Message3:35

    Reading Your First Error Message. Every programmer makes mistakes, and every programmer sees error messages. The difference between a beginner and an experienced developer is not that the experienced one avoids errors, but that they know how to read them. This lecture removes the fear of errors.


    You will start by causing some on purpose. You will leave out a closing quotation mark, misspell the word print, forget a closing parenthesis and use a name that does not exist. Each produces a different message, and you will run each one and look at the result slowly.


    We teach you how to read a traceback, which is the report Python prints when something goes wrong. The most useful part is at the bottom, where Python names the type of error and describes the problem in a sentence. Above that, it shows the file name and the line number where the problem was found, and often a caret that points at the spot. You will learn to start from the bottom, go to the line mentioned and check the line above as well, since the real mistake sometimes sits just before the place where Python noticed it.


    We introduce the two broad families you will meet: syntax errors, where the code is not written correctly and cannot run at all, and runtime errors, where the code starts but fails partway through.


    We finish with a calm routine for fixing errors, one change at a time.


    By the end of this lecture you will be able to read an error message and use it to find and fix the problem.

Requirements

  • No prior programming or coding experience is required.
  • No previous Python knowledge is necessary.
  • A computer running Windows, macOS, or Linux.
  • Basic computer skills, such as installing software and managing files.
  • An internet connection to access course materials and download software.
  • Python 3 and a code editor, with Python setup covered in the course.
  • A willingness to learn, experiment, and practice coding.
  • No paid software, subscriptions, or specialized hardware is required.

Description

This course contains the use of artificial intelligence.

Are you ready to learn Python programming from scratch and build a strong foundation in one of the world's most popular programming languages? Whether you are a complete beginner, an aspiring software developer, or a professional looking to upgrade your technical skills, this Complete Python Bootcamp provides a structured, step-by-step learning experience to help you become a confident Python programmer.

This comprehensive Python course for beginners features 100 hands-on coding lessons across 12 carefully designed modules. You will progress from writing your first Python program to developing a complete real-world Python application. No previous programming experience is required.

What Will You Learn?

Start with Python fundamentals, including installing Python, configuring your development environment, writing Python scripts, printing output, performing mathematical operations, and understanding common programming errors.

Explore Python variables, data types, operators, integers, floating-point numbers, strings, and type conversion. Learn how to store, manipulate, and process information using essential programming techniques.

Develop your Python string manipulation skills through string indexing, slicing, string methods, text processing, string formatting, and f-strings.

Master Python control flow using Boolean expressions, comparison operators, conditional statements, logical operators, and nested decision-making structures. Learn to automate repetitive tasks using for loops, while loops, nested loops, break, and continue statements.

Build a solid understanding of Python data structures, including lists, tuples, dictionaries, and sets. Discover how to organize, access, modify, sort, and process collections of data efficiently.

Learn Python functions, parameters, arguments, return values, variable scope, and reusable programming techniques to create cleaner and more maintainable code.

Explore Python file handling, reading and writing text files, processing CSV files, exception handling, error management, and data persistence.

Work with the Python Standard Library, including math, datetime, collections, and JSON. Understand Python modules, package installation with pip, imports, and modular application development.

Develop essential Object-Oriented Programming (OOP) skills by working with Python classes, objects, constructors, instance attributes, methods, inheritance, method overriding, and special methods.

Learn Python Through Hands-On Coding

This course emphasizes practical Python programming rather than theoretical explanations alone. Each lesson includes a guided coding walkthrough designed to help you understand how Python works through practical examples.

You will develop essential skills in:

  • Python programming and scripting

  • Coding fundamentals and problem-solving

  • Data structures and data manipulation

  • Python automation and file processing

  • Object-oriented software development

  • Debugging and exception handling

  • JSON and CSV data processing

  • Python testing and modular programming

Build a Real-World Python Project

Put your knowledge into practice by developing a complete Python Task Tracker application. You will design functions, manage tasks, store and retrieve data using JSON files, implement custom error handling, test functionality using assertions, and generate formatted reports.

Who Should Take This Course?

This course is ideal for absolute beginners, students, aspiring Python developers, software engineers, IT professionals, career changers, and anyone interested in building programming skills for Artificial Intelligence (AI), Machine Learning (ML), Data Science, Data Analytics, Web Development, and Automation.

While these specialized fields are not directly taught in this course, the Python fundamentals you acquire will provide a valuable foundation for pursuing them.

Start your Python programming journey today, build practical coding skills, strengthen your problem-solving abilities, and take your first step toward becoming a confident Python developer.

Who this course is for:

  • Absolute beginners who want to learn Python programming from scratch.
  • Students interested in computer science, software engineering, and information technology.
  • Aspiring Python developers looking to build practical programming skills.
  • Career changers looking to transition into technology and software development.
  • Professionals who want to automate repetitive tasks using Python.
  • Aspiring AI engineers and machine learning practitioners who need a solid Python foundation.
  • Future data scientists and data analysts looking to develop essential programming skills.
  • IT professionals seeking to expand their technical knowledge and scripting capabilities.
  • Developers experienced in other programming languages who want to learn Python.
  • Entrepreneurs and business professionals interested in learning programming and automation.
  • Self-taught programmers who want to strengthen their Python fundamentals.
  • Anyone who prefers learning through practical coding walkthroughs and hands-on examples rather than theory alone.