
Learn Python basics by exploring syntax rules, comments, variables, and operators, enabling you to write correct Python programs. Understand indentation, variable naming with underscores, and examples that promote readable code.
Explore how Python uses arithmetic, assignment, comparison, logical, and membership operators to manipulate values, concatenate strings, and evaluate boolean conditions.
Explore Python data types such as integers, floats, strings, booleans, and lists, and learn built-in functions like print, input, len, min, round, and sum; tuples, sets, and dictionary.
Run Python code from the command prompt or an IDE like PyCharm, using the run button or terminal. Explore Python data types and common built-in functions through practical examples.
Learn Python decision flow with if, elif, and else, and practice for and while loops, including indentation rules, through a traffic speed camera project.
Learn to repeat code blocks with for and while loops in Python by iterating over sequences, using range for counting, and updating counters to control termination.
Learn to write a Python program that processes highway speed data with for loops and if statements to suspend above 70, ticket above 60, or good to go.
Learn how functions and modules organize Python code, define with def, pass arguments, return values, and understand local versus global scope through practical examples and a traffic camera code challenge.
Master function scope, local and global variables, and learn to import built-in and user-defined modules in Python, including using the math pi constant and creating custom modules.
learn to build a Python module with functions to compute average, minimum, and speeds above 60, then import and use them on a sample speeds list.
Learn how Python data structures organize and store data, focusing on lists and tuples, with sets and dictionaries following, and practice list operations like append, indexing, slicing, and list comprehension.
Practice building a word-frequency dictionary from a two-dimensional lines list, replacing was with is, creating tuple-keyed dictionaries of line items, and collecting unique words in a set.
Explore object oriented programming in Python by defining classes, using __init__ to initialize properties, leveraging self, and implementing instance methods, class variables, and class methods with a dog example.
Explore inheritance by creating a subclass that inherits from a superclass and adds new methods, then demonstrate polymorphism with English and Spanish classes sharing the same say hello method.
Define a document class with title and page count; create subclasses such as books, dictionaries, and magazines; iterate a list to print info and sum pages using inheritance and polymorphism.
Open and read files in Python, learn read, write, and append modes, and use with open for automatic closure. Read content and print results, including csv handling.
open a file in write mode to replace content or in append mode to add, illustrated with example.txt and the with open statement.
Learn to read and write csv files in Python with the built-in csv module, using a writer to save rows and a reader to iterate rows, including the header.
Outlines a challenge to create and read csv of number, square, and binary for 1 to 16, then print numbers whose squares are divisible by 3 or 5, using csv.
Learn to handle errors and exceptions in Python with try-except blocks, distinguish syntax and semantic errors, and prepare for the coding challenge.
Learn to wrap risky code in a try block, handle errors with except blocks like zero division, and use finally for guaranteed cleanup.
Learn to create basic plots and charts in Python with Matplotlib, including line plots, bar charts, and pie charts, customize titles and labels, and save figures.
Visualize sales, profit, and site visits for four branches by creating a pie chart, bar chart, and a line chart with Matplotlib, using 14 days of data.
Welcome to Python Quick start tutorial course. What you will learn in this course: Fundamentals of python, functions, list, tuple, set, dictionary, classes and object oriented, working with files, error handling, data visualization and basics of web application with python.
Syntax in python is simple and easy to read and understand. And by syntax we mean a set of rules that define how to write a correct Python program. It includes rules for naming variables, using punctuation, formatting code, defining methods, etc. We will cover the fundamental ones in section 1.
Python supports several data types including integers, floats, strings, booleans, lists and so on. The primitive data types are covered in section 2. Python also has many built-in functions that can be used without the need to import any additional modules.
In section 3, I explain python decision flow with if, else if and else statements. I also teach you how to write for loop and while loop in python. At the end of this section, you are challenged to write your own code to program a traffic speed camera. You will find it easy and fun after watching this video.
In section 4, you will understand how to use functions and modules in Python.
The remaining of the sections is as follows:
5. List, Tuple
6. Sets, Dictionaries
7. Classes and Object Oriented
8. Files
9-11. (will be added)