Getting Started with Python
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!
22 Lessons Updated 8 months ago Python Beginner Level
Description
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!
Syntax, Indentation, and Comments
Python has an interesting and specific syntax. Learn all about it with this overview on the language.
Variables and Basic Data Types
This lesson will go over variables and types, including how to declare them, initialize them, and what each kind is.
Math
Learn about how to do arithmetic and work with the basic math operators and functions provided by Python.
Ifs, Elifs, Elses
Logic and conditionals are a fundamental part of programming and is how your program can make decisions.
Loops
Learn about the two loops in Python, the for and while loop. Plus learn about the break and continue statements.
Functions
Functions in Python are a great way to group together lines of code that aim to do a single task and make them reusable.
Modules
Modules in Python are a way to import external code for you to use in your own code like third-party libraries.
Lists
Learn about lists in Python which are collections that are ordered and changeable whenever you want.
Tuples
Learn how to use tuples in Python which are collections that are ordered, unchangeable, and immutable.
Sets
Learn about sets in Python which are a collections of elements that are unordered and unindexed with no duplicates.
Dictionaries
Learn about dictionaries in Python, which are key-value pair collections that are unordered, indexed and changable.
Classes and Objects
Class are blueprints to create objects which represent a collection of related properties and methods.
Inheritance and Super
Inheritance is an important concept of OOP. It is a process by which a class can inherit properties from another class.
Files
Learn how to work with files in Python including how to open, read, append, overwrite, write, and close a file.
Directories
Learn how to work with directories in Python including how to create, access, and remove a directory.
Date
Learn how to express and work with dates and moments in time using Python's built-in date and time functionality.
Serialising and Deserialising JSON
JSON is the language of data transfer. Learn how to encode and decode JSON in Python using the json module.
Learn how to send text and HTML mail dynamically in Python using its built-in mail module and functions.
Regular Expressions
Learn how to use regular expressions search patterns in Python to match text and do advanced find and replace operations.
Exceptions
Learn how to gracefully handle and recover from exceptions and errors in Python when they arise in your code.
Conclusion and Wrap Up
Congratulations on finishing this class on Python. This lesson is the last lesson of the class on Python and serves as the conclusion of the class.