
Explore where Python is used across machine learning, artificial intelligence, data science, websites, video games, desktop programs, and databases, with examples like Google, YouTube, Instagram, and the Django framework.
Visit python.org, click downloads to download the latest version for your Linux, Windows, or Mac system, then install.
Learn how to run Python files by invoking python file.py on the command line, using your preferred terminal, and view a hello world output.
Explore the python shell, an interactive environment you reach from the command line by typing python, enter code like 5 + 11 or print hello fella, and exit with exit().
Explore basic math in Python by performing addition, subtraction, multiplication, division, exponentiation, and modulus to find remainders in simple code examples.
Explore variables as named pieces of data stored in memory, show how Python assigns memory to a value, enables accessing and printing by name, and reveals the value's string type.
Explore Python indentation as the primary block structure, with colons and indentation instead of curly braces, and learn to configure an editor to map tabs to four spaces.
Dive into interactive Python by installing Python, launching the interpreter, and enjoying syntax highlighting and indentation as you run and refine code.
Explore core Python data types, including strings, lists, dictionaries, tuples, sets, and booleans, and learn mutability rules and practical usage.
Master Python indexing by pulling characters from strings and items from lists using zero-based positions and colon-based slicing to show ranges and end-of-list behavior.
Learn how to comment in Python using two primary ways: lines starting with # and docstrings for functions; document code with triple quotes or apostrophes that wrap the function body.
Explore Python string formatting, including the format method and f-strings, and compare older percent-style formatting across Python 3.5 and 3.6+. Learn how to inject variables into strings.
Demonstrate creating, writing, reading, and appending to files in Python using with open and a file handler, closing and handling newlines with slash n in the Python 3 crash course.
Explore comparison operators and conditionals in the Python 3 crash course by using if, elif, and else to compare values, test equality, and handle none with is and is not.
Explore how for loops iterate over lists and sets, print each item with f-strings, and control flow with break and continue while working with strings and vowels.
Master while loops by setting a stopping condition and incrementing a counter from zero to ten while printing each step; otherwise a loop runs forever.
Master list comprehensions in Python to generate lists in a single line, map numbers by ten, and filter for even values using an if condition.
Master defining and calling Python functions, using return values, default and keyword arguments, and returning various data types including other functions from function calls.
Learn Python variable scope by seeing how a function uses outer values when no local name is provided, including a default name and related name errors.
Learn how Python treats everything as an object, create your own classes and objects, and define attributes and methods, including self, __init__, and __str__ to control behavior and output.
Discover how to manage Python packages with pip: check versions, install and uninstall packages like Django, view details with pip show, and list all packages with pip freeze.
Learn to use try and except in Python to catch exceptions like zero division errors, keep programs running, and handle user input safely.
Explore Python beyond basics, covering modules, packages, unit testing, decorators, generators, virtual environments, sockets, databases, and frameworks like Django and Flask, plus data science with pandas and numpy.
Hello and welcome to the Python 3 Crash Course, 2020 edition!
This is a high intensity training course for programmers who already know another programming language. If you know Java, C, PHP, JavaScript, or any other language and want to make the leap tp Python.. this is the course for you!
In this course you'll learn several Python topics very quickly. We'll start at the very beginning and install Python, execute a .py file from our command line, explore basic math and work with Python variables.
Then we'll move onto Python data structures, indexing strings and lists, formatting methods, and file management files.
Lastly we'll learn about conditionals, loops, list comprehensions, functions, OOP, error handling and Python packages.
If you're a beginner and you're brand new to Python, that's OK. You can still take this course and get a one hour high level overview of what Python can do and how to write Python. But people who will get the most from this course are intermediate developers or developers from other programming languages who want to learn Python.
Otherwise, let's dive in!