Python is a general-purpose, object-oriented and high-level programming language. Python is extremely popular because it is both very powerful and easy to learn!
Introduction to Python
This lesson will help you get started with all the tools you need to begin writing your very lines of Python!
6 minutes readSyntax, Indentation, and Comments
Python has an interesting and specific syntax. Learn all about it with this overview on the language.
5 minutes readVariables and Basic Data Types
This lesson will go over variables and types, including how to declare them, initialize them, and what each kind is.
5 minutes readMath
Learn about how to do arithmetic and work with the basic math operators and functions provided by Python.
13 minutes readIfs, Elifs, Elses
Logic and conditionals are a fundamental part of programming and is how your program can make decisions.
11 minutes readLoops
Learn about the two loops in Python, the for and while loop. Plus learn about the break and continue statements.
10 minutes readFunctions
Functions in Python are a great way to group together lines of code that aim to do a single task and make them reusable.
7 minutes readModules
Modules in Python are a way to import external code for you to use in your own code like third-party libraries.
5 minutes readLists
Learn about lists in Python which are collections that are ordered and changeable whenever you want.
7 minutes readTuples
Learn how to use tuples in Python which are collections that are ordered, unchangeable, and immutable.
5 minutes readSets
Learn about sets in Python which are a collections of elements that are unordered and unindexed with no duplicates.
6 minutes readDictionaries
Learn about dictionaries in Python, which are key-value pair collections that are unordered, indexed and changable.
5 minutes readClasses and Objects
Class are blueprints to create objects which represent a collection of related properties and methods.
5 minutes readInheritance and Super
Inheritance is an important concept of OOP. It is a process by which a class can inherit properties from another class.
5 minutes readFiles
Learn how to work with files in Python including how to open, read, append, overwrite, write, and close a file.
9 minutes readDirectories
Learn how to work with directories in Python including how to create, access, and remove a directory.
5 minutes readDate
Learn how to express and work with dates and moments in time using Python's built-in date and time functionality.
5 minutes readEncoding and Decoding JSON
JSON is the language of data transfer. Learn how to encode and decode JSON in Python using the json module.
5 minutes readLearn how to send text and HTML mail dynamically in Python using its built-in mail module and functions.
5 minutes readRegular Expressions
Learn how to use regular expressions search patterns in Python to match text and do advanced find and replace operations.
6 minutes read