
download python from the official python site and install the appropriate version on windows or macos, then set up the ide to write your first hello world program.
Learn how to install Python, create a simple hello world program using the print function, and see Python's easy syntax in the course's first section.
Explore how variables work in Python by assigning values to names, changing them, and using a simple three-step rule—identifier, equals sign, and value.
Explore multiple assignment in Python by assigning values to several variables in one line, using one-word names, and sharing a value across variables to simplify large projects.
Explore Python data types by focusing on numbers and arithmetic operators. Use age1 and age2 to perform addition, subtraction, multiplication, division, and modulus, then print results 54, -26, and 0.5.
Explore Python strings, including creating and concatenating with spaces, and mastering slicing and indexing from zero. Learn to extract specific substrings with the slice operator.
Learn how placeholders in Python use the percent formatting to create template strings, filling in one or multiple values like names or ages to customize messages.
Explore how lists in Python work, using a shopping list to index items from zero and update elements, and compare lists to strings and arrays.
Explore listing and manipulating Python lists using del, len, max, min, append, and count, with practical examples like a shopping list and arrays.
Explore dictionaries, using curly brackets to map keys to values; access, update, and delete by key, and note that keys are case sensitive.
Explore dictionary basics in Python, including deleting and clearing dictionaries, using len, keys, and values to access data, and updating dictionaries with key-value pairs, noting dictionaries are ordered.
Tuples are immutable Python data structures with round brackets, supporting indexing and slicing. They cannot be edited in place; rebind to a new tuple or delete the tuple with del.
Master conditional statements with if-else structures that evaluate a condition as true or false and execute the corresponding print statements, while introducing relational operators, logical operators, and nested if statements.
Master Python's six relational operators—greater than, less than, greater than or equal to, less than or equal to, equal to, and not equal to. See how they yield booleans for if statements and compare assignments directly.
Learn how to build nested if statements in Python by combining age checks with name-based conditions, using if, elif, and else to control Facebook eligibility and special privileges.
Master if statements and elif chains in Python by building day-based conditions to print sunny, cloudy, or rainy. Practice handling multiple conditions and else outcomes.
Explore how to use logical operators in Python to combine multiple conditions in if statements, using and or with age and name examples.
Learn how for loops in Python repeat actions by iterating over ranges, lists, and dictionaries, using range start, end, and increment to count evens or count down.
Learn how while loops repeatedly check a single condition to run code, and see a counter-based example that prints and increments until the condition becomes false.
Explore nested loops with for loops and range, learn how modulus reveals divisibility, and practice building a simple prime-number generator for the first 10 primes.
Explore Python loop control statements break, pass, and continue, showing how break terminates a loop, pass acts as a filler, and continue skips to the next iteration with practical examples.
Master the try and accept concept to gracefully handle errors in Python by trying operations and guiding users with clear messages when issues like no internet arise.
Master python code documentation by using a hash tag for single-line comments and triple quotation marks for multi-line comments. Place comments in files to explain code and improve readability.
Explore Python string quotes, using single or double quotes, and master escape characters to handle apostrophes. Learn to create multi-line statements with backslashes for clearer, concise code.
Learn how to create and call Python functions, define a function with parameters and a body, use return values, and reuse code with simple examples like printing and adding numbers.
Explore global versus local variables in Python, showing how a global total persists while a local total inside a multiply function remains undefined outside.
Explore the abs function to compute the absolute value of numbers in Python and the bool function to return true for non-zero values and false for zero.
Explore how the dir function reveals methods for data types like lists and strings, and use the help function to learn what each function does, such as upper and replace.
Explore Python's eval and exec functions, using eval to evaluate simple expressions from strings and exec to run multi-line programs, including print statements, and highlight their differences and limitations.
Use input() to read user data, convert strings to numbers with int() and float(), then convert numbers back with str(). Practice comparing ages or other values to simple thresholds.
This lecture recaps Python functions such as len, max, min, range, and sum, and demonstrates their use on strings, lists, and dictionaries, with a preview of classes and file handling.
Explore the basics of object oriented programming by defining classes, creating instances, and initializing attributes with the init function, using self and parameters to set names, ages, and grades.
Learn to define a Python student class with initialize function that stores name and age using self. Implement a display student function that returns a string with name and age.
Learn to manage class attributes by using has attribute, set attribute, get attribute, and delete attribute functions on student objects, including initializing the class and adding age or grade attributes.
Explore inheritance by defining a parent and child class, showing how the child inherits attributes and methods from the parent and reuses them in its own behavior.
Explore overriding methods in Python by redefining a parent class function in a child subclass to provide specialized functionality in object oriented programming.
Learn how to create and save a simple text file across macOS and Windows, using text editors, and prepare for Python file manipulation with UTF-8 text files.
Learn how to open a Python file with an access mode, read its contents, reset the cursor with seek, and read specific character counts to control output.
Open the file in write mode to write text, then reopen with all access to read. B-plus enables both writing and reading.
Learn how to append data to an existing file without overwriting it, using open modes and plus-enabled access, and verify updates by reading the file.
Create a Python-based file-copying program that prompts for a file name, reads the source, creates a copied file, and writes all data from the original to the new file.
Explore Python modules, import the random module, and use randint to generate a random number between a specified range, enabling hands-on games like a simple guessing game.
Create a simple guessing game where the computer guesses and you respond, using the random module, input handling, int conversion, and a while loop.
Learn to use Python's random module to pick a random item with random.choice and to shuffle a list with random.shuffle, via hands-on food list examples.
Discover how to use the sys module to read input, write output, and display the Python version.
Explore Python's time module to measure program duration with time.time and manage dates with time.localtime and time.asctime, then control pacing using time.sleep.
Discover the turtle module for simple shapes and basic animation by importing turtle, initializing a pen, and using forward, left, and right to draw a square, then reset the screen.
Master for loops in turtle graphics to automate drawing shapes like octagons and stars, using range, angles, and forward movements to create complex patterns and reduce code repetition.
Use turtle up and down to draw two separate stars without linking lines, then preview color filling with began fill and fill to color the shapes.
Discover how to color turtle drawings using the color function and began fill. Build a blue box car with two wheels by drawing circles and applying rgb colors.
Explore creating reusable turtle functions to draw shapes, including squares and circles, by defining a square(side) function and a circle(radius) function, reinforcing modular Python graphics.
Learn python string handling: create, slice by index ranges, and extract substrings; then use the re module to search patterns and retrieve matches by start, end, and span.
Learn how to crawl the web for stock data using Python, parse and decode the retrieved content with regex and urllib, and extract and print the stock price.
Discover how to build a Python weather program that fetches city forecasts from weather forecast dot com and parses a 1–3 day forecast using requests and HTML parsing.
Build a Python web scraping tool that takes a word, fetches its definition from dictionary.com, and extracts the definition using parsing and UTF-8 decoding, with error handling via try-except.
Delve into advanced Python programming by exploring external modules, how downloading them extends Python, and how pip and the Beautiful Soup library fit into upcoming lessons.
Install the Beautiful Soup 4 module using pip3.4 and verify it is installed. Install requests to fetch web data, following Mac or Windows steps.
Learn to use the Beautiful Soup module to prettify HTML by feeding code into soup and parsing with an HTML parser, producing well-formed tags automatically.
Learn to navigate an HTML document with Beautiful Soup, drill down through tags, and use find_all to extract all anchors, the title, and body content.
Explore how to navigate a document structure with soup using contents, head, title, and body, and list elements with children and the full descendants.
Learn how the dot string function returns a tag’s text content, and how the dot parent function moves up one level to reveal preceding content.
Explore how to search a parsed document with Beautiful Soup using find_all and filters by ID, tag name, and attributes, including anchors, links, and text patterns.
Parse weather data from a web page using requests and BeautifulSoup, extracting the 93-degree value by targeting the div with class info and strong tags.
Learn to use BeautifulSoup to parse documents and extract antonyms, practicing find and find_all methods, and save results to a file while exploring input/output basics in Python.
Install matplotlib and import matplotlib.pyplot to create basic graphs in Python, including bar charts, pie charts, and scatterplots, then learn how to use them in your programs.
Explore how to create a simple line graph in Python by plotting x and y coordinates on a cartesian plane, connecting points with a line to visualize data.
Explore the Matplotlib interface by building a basic graph, using zoom and pan with left-right arrows, and adjusting whitespace, width, and height, then saving the figure as a PMG.
Learn to label graphs with a title, x-axis label, and y-axis label using simple functions. The example uses December rainfall data and demonstrates a ready-to-plot graph.
Learn to read coordinates from a text file, parse x and y values, and build a graph by splitting data and plotting the points in Python.
Learn to create a matplotlib figure with multiple subplots, customize the axes background, and plot x and y data with configurable colors and line widths.
Color and style a Python plot by adjusting background, line colors, axis spines, and labels, and learn to add a subplot for multiple graphs in one figure.
Learn how to plot multiple lines on a single graph using the plot function, add several data sets, customize colors, and start all series at zero for clear comparisons.
learn how to create multiple graphs in a single figure by arranging subplots in 2x1 or 2x2 grids, selecting the correct subplot index, and customizing data, labels, and colors.
Learn to create multiple graphs in a single figure using grid dimensions, placing graphs in two-by-two or two-by-one layouts and adjusting space.
Learn to create basic bar charts in Python by generating six bars from a range, with 0.5 spacing, and explore vertical orientation and color options.
Learn how to customize a Python bar graph by labeling bars, assigning names and colors, setting axis titles and bar heights, and programmatically adjusting layout with subplot_adjust.
Learn how to create a basic pie chart in Python, set slice sizes that sum to 100, arrange colors in descending order, and add a legend and title.
Modify your Python pie chart by selecting vivid colors, enforcing equal axes for a perfect circle, and starting at 90 degrees to improve visuals, then add labels and wedges.
Learn how to create a complete circle pie chart, assign labels to slices, add a legend with a title, color segments, and place the legend in a preferred corner.
Learn to create 3D plots using axes 3D, with X, Y, and Z coordinates, build 3D wireframe visualizations, and adjust the view for a better 3D model.
Create a 3d scatter plot from x, y, z coordinates in a 3d graph, set color to red and choose a marker, and label the x, y, and z axes.
Learn to show multiple data sets on a single 3D scatter plot using x, y, z coordinates, with colors and markers to distinguish the data groups.
Learn to create three-dimensional bar graphs in Python with matplotlib by setting initial x, y, z positions and deltas to control height, color, and axis labels.
Generate 3d wireframes by producing x, y, z data, visualize them with a wireframe, and tune delta and stride to control line detail and performance.
Do you want to become a programmer? Do you want to learn how to create games, automate your browser, visualize data, and much more?
If you’re looking to learn Python for the very first time or need a quick brush-up, this is the course for you!
Python has rapidly become one of the most popular programming languages around the world. Compared to other languages such as Java or C++, Python consistently outranks and outperforms these languages in demand from businesses and job availability. The average Python developer makes over $100,000 - this number is only going to grow in the coming years.
The best part? Python is one of the easiest coding languages to learn right now. It doesn’t matter if you have no programming experience or are unfamiliar with the syntax of Python. By the time you finish this course, you'll be an absolute pro at programming!
This course will cover all the basics and several advanced concepts of Python. We’ll go over:
The fundamentals of Python programming
Writing and Reading to Files
Automation of Word and Excel Files
Web scraping with BeautifulSoup4
Browser automation with Selenium
Data Analysis and Visualization with MatPlotLib
Regex parsing and Task Management
GUI and Gaming with Tkinter
And much more!
If you read the above list and are feeling a bit confused, don’t worry! As an instructor and student on Udemy for almost 4 years, I know what it’s like to be overwhelmed with boring and mundane. I promise you’ll have a blast learning the ins and outs of python. I’ve successfully taught over 200,000+ students from over 200 countries jumpstart their programming journeys through my courses.
Here’s what some of my students have to say:
“I wish I started programming at a younger age like Avi. This Python course was excellent for those that cringe at the thought of starting over from scratch with attempts to write programs once again. Python is a great building language for any beginner programmer. Thank you Avi!”
“I had no idea about any programming language. With Avi's lectures, I'm now aware of several python concepts and I'm beginning to write my own programs. Avi is crisp and clear in his lectures and it is easy to catch the concepts and the depth of it through his explanations. Thanks, Avi for the wonderful course, You're awesome! It's helping me a lot :)”
"Videos are short and concise and well-defined in their title, this makes them easy to refer back to when a refresher is needed. Explanations aren't convoluted with complicated examples, which adds to the quick pace of the videos. I am very pleased with the decision to enroll in this course. Not only has it increased the pace I'm learning Python but I actively look forward to continuing the course, whenever I get the chance. Avi is friendly and energetic, absolutely delightful as an instructor.”
So what are you waiting for? Jumpstart your programming journey and dive into the world of Python by enrolling in this course today!