
Already know some of this? A 2-minute test skips the lessons you know.
Take the placement testA free 23-lesson course built from CodeWithHarry's 3h 09m of YouTube video. 2 days at 90 minutes a day, with study notes and a quiz in every lesson. A 2-minute placement test skips what you already know.
Taught by CodeWithHarry on YouTube. Videos play in YouTube's own player, so the creator keeps every view.
Understand the course structure, install Python from python.org, and learn why PyCharm is the recommended IDE.
Write and run a 'Hello World' program, then use single-line (#) and multi-line (''' ''') comments to document or disable code.
Create variables to store integers, floats, booleans, strings, and None; understand dynamic typing and basic naming rules.
Apply +, -, *, /, //, %, ** operators and compound assignment operators (+=, -=, *=, /=, //=, **=, %=) on numeric variables.
Use ==, !=, >, <, >=, <= to compare values and and, or, not to build boolean logic for conditional statements.
Install third-party packages with pip (e.g., pandas, openpyxl), import them with aliases, and explore useful libraries like sklearn and plyer.
Create strings with quotes and f-strings, slice them using indices, and apply methods like upper(), lower(), count(), replace(), and split().
Capture user input with input(), convert it to numbers using int() or float(), and handle the string-to-number conversion for calculations.
Build mutable lists, modify them with append(), pop(), remove(), sort(), extend(), and query them with index(), count(), and slicing.
Create tuples with parentheses, access elements by index, use count() and index() methods, and understand immutability versus lists.
Create sets with curly braces, leverage uniqueness, and perform union, intersection, difference, and symmetric difference operations.
Create dictionaries with key-value pairs, access and modify values, and use methods like get(), keys(), values(), items(), update(), and pop().
Write conditional blocks using if, elif, else, comparison operators, and logical operators to control program flow based on user input.
Build condition-controlled loops with while, create intentional infinite loops with break conditions, and apply break/continue in both loop types.
Define reusable functions with def, pass positional and keyword arguments, use f-strings for templating, and return computed values with return.
Wrap risky code in try blocks, catch exceptions with except Exception as e, print error details, and keep programs running despite invalid input.
Use with open() as a context manager to safely write, read, and append to text files; understand modes 'w', 'r', 'a' and automatic closing.
Define classes with __init__, create instances, store instance attributes, write methods, and distinguish mutable objects from immutable types.
Build a command-line app that greets the user by name, speaks via os.system('say ...') on macOS, and exits on 'q' input.
Fetch live weather data from WeatherAPI.com using requests, parse JSON with json.loads, extract temperature, and announce it via text-to-speech.
Install opencv-python, load an image with cv2.imread, calculate new dimensions by percentage, resize with cv2.resize, and save the output.
Install pypdf2, append multiple PDF files using PdfMerger.append(), and write the merged result to a new PDF file.
Use face_recognition and OpenCV to capture webcam frames, encode faces, compare against known encodings, log attendance with timestamps to CSV, and display real-time labels on video feed.