
Colt Steele presents one week Python, a fast, engaging course with short videos, exercises, quizzes, and projects to build a Python foundation for data science and web development.
Set expectations upfront: this course gives a quick foundation in Python, not an encyclopedia, and avoids advanced topics like web dev, data science, or machine learning.
Python offers high demand, strong salaries, and a large community. With libraries and frameworks for machine learning, data analysis, web development, and games, it remains versatile and easy to learn.
Explore what you can do with Python across data science, machine learning, web development, game dev, and automation, with tools like Django, Flask, Pandas, Seaborn, TensorFlow, scikit-learn, OpenCV, and NLTK.
Learn why Python versions matter, from the 2.x to 3.x transition, and how backward incompatibility required rewriting tools and code; ensure you run Python 3 and skip outdated 2.x resources.
Explore two primary ways to run Python—interactive mode for quick experiments and script execution for fuller programs—plus installation options and using VS Code to run scripts.
Guide for Mac users to install Python, verify the installation in Terminal, explore interactive Python and IPython, and set up VS Code with the Python extension to run simple scripts.
Windows users learn to install Python, add it to path, install Visual Studio Code, select a Python interpreter, run simple scripts, and optionally install IPython for interactive mode.
Discover the no-installation path with repl.it, an in-browser Python editor that runs code remotely, lets you sign in, create projects, and execute Python interactively.
Explore the fundamentals of data types in Python, including strings, booleans, integers, and floats, and learn how numbers, text, and boolean values are represented and used.
Learn how integers and floats differ in Python, with notes on the complex type, how type checks distinguish int from float, and the precision limits of floating point numbers.
Learn optional numeric notations in Python: use underscores to group digits in integers and floats, avoid leading zeros in integers, and explore scientific notation for large or small numbers.
Learn to use Python operators to perform basic math with numbers, including addition, subtraction, multiplication, and division, and understand how floats, parentheses, and the order of operations influence results.
Explore three lesser-known Python operators: exponentiation with **, integer division with //, and modulus with %, including space sensitivity and negative-number behavior.
Learn the role of comments in Python, using the hash symbol to mark lines that the interpreter ignores, and discover how comments help document code and guide exercises.
Learn to store values in Python using variables, label them with the assignment operator, and update data such as age and score while tracking multiple values in memory.
Discover how to name Python variables effectively using valid identifiers, underscores (snake casing) over spaces or camel casing, and avoiding reserved keywords for readable code.
Learn assignment operators that update a variable from its current value using plus equals, minus equals, star equals, division equals, integer division, and modulus.
Demonstrate how numbers and variables power real code, from game scorekeeping and plus equals updates to ecommerce refunds and covid data analysis with pandas and numpy.
Learn how the print function outputs values to standard output, with examples like printing arithmetic results from a file, and understand why print escapes the file for visible results.
Practice manipulating a secret number with variables and assignment operators such as plus equals, minus equals, star equals, and divide equals to reveal a predicted result.
Identify strings as Python's textual data type, declared with single or double quotes, and embed quotes by mixing types while keeping consistent quotes to avoid syntax errors.
Discover how Python treats variables as dynamic, letting a value switch from integer to string. Store emails, usernames, and URLs as strings for form data and text input.
Explore how Python operators differ for strings and numbers, using plus for concatenation and addition, and multiply to repeat a string with a number, depending on left and right operands.
Learn how strings are ordered and indexed in Python, using zero-based positions, bracket notation to retrieve characters, and negative indices to access the end of a string.
Explain Python's None type, a special value that represents nothingness, distinct from zero or an empty string. Use it to denote absence of a value, such as no active user.
Learn to extract substrings with slice syntax using start and stop indices, optionally with a step, noting that the stop is not included and the original string remains unchanged.
Explore the Python print function, its role in standard output, and how to display values from variables like MSG in scripts, with multiple prints on separate lines.
Learn how escape characters work in Python strings, using backslashes to create new line and tab sequences, escape quotes, handle multi-line strings, and print backslashes.
Learn how triple quoted strings enable multi-line text in Python, using triple single or triple double quotes to write readable strings that preserve line breaks when printed.
Explore how strings appear in real production code, from file names and axis labels to plot titles and country names, illustrating that strings are everywhere and essential.
Combine first and last names with a space, print the full name Nico Hulkenberg, derive initials with and without periods, and slice the last name to a four-character nickname.
Explore functions as reusable actions with names and parentheses, learn about inputs (arguments) and outputs, and see examples like type, print, help, average, and a weather function.
Learn how the len function returns the length of a string, such as 'Hello' (five characters), while numbers have no length; use help(name) to explore built-ins.
Explore the built-in input function that prompts the user on the command line, captures input into variables, and builds greetings or full names for simple scripts and games.
Discover type casting in Python by converting between int, float, and string with int(), float(), and str(). See how inputs become numbers and how decimals are truncated to integers.
Build a simple age in days calculator by prompting for years, converting the string input to a float, and computing days as age times 365.
Master Python 3 f-strings, using curly braces to evaluate expressions and embed numbers or variables in a single formatted string.
Explore f-strings and type casting in real-world data tasks, turning numbers into floats or strings for url slugs and dynamic time series plots across countries.
Build a shopping cart in Python with no starter code, including a star banner, prompts for item, price, and quantity, and a subtotal calculated via f-strings.
Learn how string methods work in Python by using dot notation to call upper, lower, and capitalize. Discover that these methods return new strings and do not modify the original.
discover how to use python's official documentation to explore string methods, locate library references, and navigate version differences, empowering you to learn and apply Python effectively.
Learn to use Python's built-in help and IPython features, including autocomplete and the question mark syntax, to discover string methods like lower and strip and their availability.
Explain how to read Python function signatures, focusing on strip, lstrip, and rstrip, including the optional chars argument and default whitespace removal.
Master the replace string method in Python: use required old and new arguments to substitute substrings, optionally limit replacements, and even remove text with an empty string.
Discover how to use Python's string methods find and count to locate substrings and tally occurrences, with optional start and end ranges and handling not-found cases.
Explore method chaining of string operations like strip and lower to clean emails into a lowercase, trimmed result. Note that methods like count return non-strings, stopping chaining.
Explore real-world string methods in Python, using uppercasing, removing spaces, and formatting postcodes, plus converting date formats and cleaning dataset fields for ecommerce data.
Practice string methods to clean and transform a press release for duty calls by stripping whitespace, replacing dog poop with pet waste, normalizing the company name, and uppercasing.
Learn booleans in the One Week Python course, and how true/false decisions drive logic and control flow—from login checks to Wardle game logic.
Explore Python's comparison operators, including greater than, less than, and their equal variants, which yield booleans and compare numbers, strings, and booleans for decisions.
Learn how equality operators in Python compare values using == and !=, including numbers, strings, and booleans, and distinguish them from the assignment operator.
Explore how Python's equality operator treats ints, floats, and strings that represent numbers, and learn when to convert types with int() or str() to compare numbers on equal footing.
Identify values in Python by their truthiness and falsiness, including zero, None, empty strings, and empty data structures, then use bool() to guide conditionals.
Learn how the in operator checks membership by testing whether the left value is contained in the right sequence, with case sensitivity and boolean results demonstrated on strings and lists.
Learn how Python compares strings by their underlying Unicode code points using ord, and see how case, spaces, symbols, and multiple characters affect ordering.
Explore booleans in real-world code through game and ecommerce examples, showing true/false flags, comparison operators, and user attribute logic like is_active, is_staff, and is_superuser.
Discover how conditionals with if and else create branching logic that decides outcomes based on age, using comparisons, indentation, and colons to print different messages.
Master the if keyword in Python by using a condition, colon, and indentation to control code execution; explore true/false outcomes with examples like age checks and basic else/elif patterns.
Learn how the elif keyword extends if statements in Python, using indentation and colon syntax, with color-based examples showing that only one branch runs.
Master the else keyword in Python conditionals by using if, elif, and else to handle all outcomes with clear, last-ditch decisions.
Practice conditionals in Python by building a name length script that asks for first and last name, sums their length with len, and reports shorter, exact, or longer than 12.
Learn to generate random integers in Python with randint, using import random or from random import randint, and apply a coin toss or dice roll to add randomness in projects.
Practice conditionals in a tweet checker exercise by reading a potential tweet and measuring its length. Print whether it fits within max character limit and show how many characters remain.
Don't waste your time with 60+ hour behemoth courses that you never finish! Instead, try this quick and effective pathway to Python that was designed with your sanity in mind. This course is the perfect first step into the world of data science, web dev, machine learning, or any other discipline that requires Python knowledge.
As an-person coding bootcamp instructor, I created this course to keep you engaged the entire way through. It's full of exercises, quizzes, challenges, and projects. The slides, diagrams, and cheatsheets were painstakingly designed to help you visualize the tricky concepts. There are no 20-minute monster videos in this course; the average video is only 4 minutes long. Everything about this course has been designed to make it actually completable!
This course covers all the Python essentials you need: everything from variables to data structures to object oriented programming and modules. You’ll fill up your Python toolbox so you can go on and tackle libraries like pandas, flask, scikitlearn, django, and more.
What this course is not: This course is not a complete guide to every single possible feature in the Python language. It focuses on the 80% that is absolutely critical and worth your time, but there are other (much longer) courses that are more akin to Python textbooks that take the time to cover every feature. In fact, I created one of those courses, and it happens to be 40 hours long!
As someone who has both created and purchased massive Udemy mega bootcamp courses, I know they are still the standard format on the platform, but maybe it’s time for something a bit more human and engaging. I thought it was worth a try at least.
Here's a detailed breakdown of what we cover:
Painless installation for all platforms and users
Working with numbers
Python variables
Strings and string methods
Booleans
Conditional Logic
Boolean Logic
Loops
Functions
Scope
Lists
Dictionaries
Sets
Tuples
*args and **kwargs
Working with errors
Custom modules
3rd party modules
PIP
Object Oriented Programming
Classes