
This introduction explains Python as a beginner-friendly, high-level, object-oriented language with an interpreter, interactive use, database and web framework support (Django, Flask), and a brief history.
Discover why beginners should learn Python, a free, open-source, high-level language with a large community, cross-language wrappers, portability, and strong support for web, data science, and automation.
Explore the Python 2 to 3 transition, why Python 3 dominates today, and major differences like print syntax and division behavior.
Learn how to install Python on Windows by downloading Python 3.8.1 from python.org, running the installer with default options, and verifying by typing Python in the start menu.
Learn how to install Python on Ubuntu using sudo apt, choose between Python 2.7 and Python 3.7, specify the version you want, and verify the installation with the version command.
Explore using the interactive Python shell in the terminal across Windows and macOS, launch with Python 3, and learn basics like printing hello world, variable assignment, and printing multiple variables.
Download the free open source PyCharm community version, run the installer, click next, install, finish, then launch PyCharm from the start menu and accept the terms while selecting a theme.
Install PyCharm on Linux (Ubuntu) using snap from JetBrains, choose the community edition stable channel, run the terminal command as superuser, and verify the installation from applications.
Create a test project, activate the virtual environment, and practice Python basics by writing and running print statements, exploring indentation in if blocks, and using comments and triple quotes.
Explore the basic Python data types, including integers, floats, strings, lists, and dictionaries. Learn to assign values, print types, and inspect variables to build intuition.
Explore Python's arithmetic operators, including addition, subtraction, multiplication, division, floor division, and modulus, with hands-on examples using a=12 and b=10 and formatted output.
Explore decision making in Python by using if and while operators, understand conditions, and learn about single-statement if statements and how loops increment a variable, including infinite loop scenarios.
Explore Python loops by using for and while loops over ranges, strings, and lists; print iterations, control flow with break, and proper indentation while starting from zero.
Explore integers on the number line, perform addition, subtraction, multiplication, and division with variables like 4 and 5, and understand floating values and lists of numbers in Python.
Explore how to declare strings in python using double, single, or triple quotes; access characters, slice strings, immutability, format and concatenate, measure length with len, and split and lower strings.
Learn how to create tuples, print them, concatenate two tuples, work with nested tuples, repeat tuples, measure length, and understand immutability and the difference between tuples and lists.
Create and modify Python dictionaries by storing key-value pairs, adding keys such as 1: hello, 2: would, and fruit: mango; access values via keys, and remove entries with del.
Import the daytime module, declare a time in a variable, extract the current date and time, and use string format daytime to display the weekday in full form.
Define your own Python function with def that accepts two arguments and performs operations. Learn to call the function, and understand how returning results differs from printing inside the function.
Explore how Python modules work, install the requests package with pip, import it, and perform an http request to google.com, then read the status code and response content.
Learn how to write to and read from files in Python by opening a file in write mode, using f.write, then reading with read to verify content.
Learn to handle exceptions in Python using a try and except block to prevent crashes, illustrate with defined and undefined variables, and keep code running from top to bottom.
Python is one of the most popular programming languages. It is easy to learn and beginner-friendly. Python can be used for web development, web scraping, data analytics, robotics, just to name a few. In this course, we will learn the Basics of Python, from variables, loops, functions, modules and so much more. This course is geared towards beginners and no prior experience with Python or programming is needed.