
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Explore the differences between Python 2 and Python 3, including compatibility and migration decisions. Learn why Python 3 is the future and how the print function changes.
Choose your starting path in this practical Python bootcamp, based on PC or Mac, master the command line and Python installation, then learn syntax, variables, data types, and exercises.
Open the Mac terminal via spotlight, use the preinstalled terminal to run commands without installing anything. Optional item provides extra customization, but the course uses the plain vanilla terminal.
Navigate your filesystem using the cd command, choosing absolute paths or relative paths with dot dot, and use tab autocomplete and the prompt to move between home, users, and desktop.
Create new directories with mkdir in the current folder, verify with ls, and enter them with cd. You can create multiple directories at once, like rusty pics and wyatt pics.
Create new files with touch by naming them and giving an extension in a directory, including python files; touch also updates the timestamp of existing files.
Move and rename files and directories with the mv command. Use a source and destination to rename in place, move to a different folder, or both, as shown in examples.
Learn to delete files with rm, including removing multiple targets, while rm deletes only files, not folders, and deletions are permanent with no recovery.
Delete directories with rm, as they may contain files and subdirectories. Use recursive options like -r or -rf to remove everything, watch permission prompts, and consult man pages for safety.
Explore the command line as a fast, powerful interface for PC users, learn navigation, file manipulation, and PowerShell basics, and run Python by locating, opening, and executing scripts.
This video is still processing. Please try again shortly.
Master PowerShell basics with ls and pwd to understand absolute versus relative paths, root and home directories, backslashes on Windows, and how to navigate, create, and run Python scripts.
Master the cd command to navigate directories using absolute and relative paths, including dot, dot dot, and tilde shortcuts. Learn to list and verify locations with ls and clear.
Learn how to create directories and files using mkdir in PowerShell, compare it to Linux, and navigate with ls and cd to manage folders efficiently.
Explore creating files with PowerShell, compare with unix touch, address utf-16 vs utf-8 encoding, and choose practical workflows (editor or GUI) to create, save, and delete files.
Remove files with rm and folders with rm -r -f in PowerShell, understanding recursion and force to delete everything, while using ls and cd for safe navigation.
Discover Sublime Text as the course's primary Python editor, with syntax highlighting, autocomplete, and file management; learn to create, open, and organize Python files, and use layouts and color schemes.
Write your first Python program using a single print line, create a file, write code, and run it with Python three, mastering the three-step process.
Compare the python interpreter's ripple read-evaluate-print loop with executing scripts, where output appears only via print.
Install python on Windows, add python to path, launch the python interpreter in PowerShell, and test a simple program using the ripple read-evaluate-print loop.
Explore Sublime Text as a free, powerful text editor popular with Python and JavaScript developers. Save Python files with .py for syntax highlighting and autocomplete, and customize color schemes.
Learn your first Python program with the print function and running a script. Create a file on the desktop, save it, run it with Sublime and PowerShell to print hello.
Master the difference between typing in the Python interpreter and running scripts: use the read-evaluate-print loop for quick testing, and include print to display results in scripts.
Explore Python data representation by comparing ints and floats, apply basic operators like division and multiplication, and note quirks, then learn about comments.
Explore how Python stores numbers as integers and floats, why decimals use more memory, and how operations with mixed types yield floating results using type checks.
Explore basic Python math: addition, subtraction, multiplication, and division; learn that division returns a float, and understand the order of operations with parentheses.
Learn how to write comments in Python to annotate code that won't run, using the hash symbol and editor shortcuts, to aid clarity and help teammates understand complex code.
Explore three Python operators: exponent with the double star, modulo as remainder, and integer division with double slashes. See powers, roots, remainders, and the int–float difference in division.
Learn how to use the Python documentation on Python.org, switch to Python 3 docs, and search built-in functions like print for detailed usage.
Learn how to assign and use variables in Python, understand naming rules and conventions, and explore data types with a focus on strings and conversion between types.
Explore how variables in Python act as named containers for data, covering assignment, data types like numbers and strings, and dynamic values through reassignment and user input.
Explore core Python data types, including booleans, strings, lists, and dictionaries, and see how each stores text, numbers, and key-value data.
Discover how Python's dynamic typing lets you reassign variables to different types—booleans, strings, None, and floats—unlike statically typed languages such as C++. Understand that None represents nothing, not zero.
Learn how Python's None represents nothingness, akin to NULL, and how setting a variable to None signals missing data to prevent errors when retrieving values.
Master declaring strings in Python with single or double quotes, maintain consistency in your file, and embed quotes inside strings without errors. Preview escape sequences as the next topic.
Escape sequences in Python strings, using backslashes to insert new lines and quotes, escape backslashes, and understand how these sequences transform text in print.
Master string concatenation in Python by using the plus operator to join strings, manage spaces, and avoid type errors with numbers. See greeting examples and plus equals for reassignment.
Explore zero-based string indexing in Python, access characters with square brackets, and use negative indices to count from the end. Apply this to handle yes/no user input robustly.
Learn how to convert data types in Python with int, float, and str, both explicitly and implicitly. See how division yields floats, and truncation cuts decimals when converting to int.
Build a tiny Python mileage converter that reads kilometers from the command line, converts to miles with float division, and formats the result with f-strings.
Use the input function to capture user input from the command line, store it in a variable as a string, and apply it to decision making and displays.
Explore truthiness and falseness in Python conditionals, focusing on inherent truth values of non-empty values and false values like empty strings, zero, and None, with a practical input example.
Explore Python's comparison operators, including equals, not equals, greater than, less than, and their or equal variants, and learn how these expressions evaluate to true or false in if statements.
Master boolean logic by combining comparison operators with and, or, and not to form complex conditions in Python for if statements, including age checks and ticket pricing, with practical examples.
Build a Python bouncer program that uses nested conditionals to grant entry with a wristband for ages 18–21, allow drinking for 21+, or deny under 18, while handling empty input.
Write a series of conditional statements (i.e. if/elif blocks) to compare and print out the results of Rock Paper Scissors, based on player1 and player2, which contain the players' respective moves.
See the attached starter code in rock_paper_scissor.py.
Here is the solution code for Rock, Paper, Scissors exercise.
Explore for loops and while loops, focusing on syntax, iterables like strings and ranges. Learn the roles of iterable object and item, see how to print values.
Explore how Python ranges generate ordered number sequences for for loops, with start inclusive, end exclusive, and adjustable step, including counting up or down.
Practice exercise uses loops and ranges over numbers 1 to 20 inclusive, printing whether each is even, odd, or unlucky for 4 and 13, with emphasis on ordering and refactoring.
Explore while loops, using a boolean expression to repeat code until true, compare them to for loops, and see examples like password prompts and counting 1 to 10, loop risks.
Master combining for and while loops to print increasing sequences of smiley faces, using string multiplication or nested loops, and explore a centered emoji pyramid in Python.
Updated to include SQL + Python!
Welcome to the Modern Python 3 Bootcamp! I've launched my fair share of Udemy courses, but I've never done anything quite this crazy.
This course is a unique experience on Udemy. There are dozens of existing Python courses you can choose from, but this course is the only one that has nearly 200 interactive challenges you can complete right here in your browser. I didn't just tack on a couple of exercises at the end; this course is fully built around the coding exercises. This course is all about getting you writing code ASAP, rather than sitting back watching a bunch of videos.
In development, I referred to this course as a hybrid between a typical Udemy course and an interactive Codecademy-style course. You get over 25 hours of in-depth videos and my dumb jokes along with meticulously created exercises and quizzes to test your knowledge as you go.
Many of the older Python courses still focus on Python 2. This course is all about writing the most modern, up-to-date Python code, so Python 3 was the obvious choice. The course covers all the latest additions and changes to the Python language. The course also places a large emphasis on thinking like a Python developer, and writing code the "Pythonic" way.
As for the curriculum, This course teaches all the key topics covered by other Python courses, but also covers more advanced topics like web scraping, crawling, and testing, just to name a few. Please feel free to explore the curriculum and watch some of the free preview videos!
Python is consistently ranked in either first or second place as the most in-demand programming languages across the job market. It has applications in data science, machine learning, web development, self-driving cars, automation, and many many other disciplines. There has never been a better time to learn it!
I'm spent years teaching people to program at in-person bootcamps in the San Francisco Bay Area. In recent years, I've started bringing my methods from the classroom to the online world. In my first year teaching online, I was selected as the Best Newcomer Instructor in the Udemy Instructor Awards 2015. I'm passionate about making the best possible online learning experiences that mirror my in-person courses.
If you want to take ONE COURSE to master Python take this course.