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!


  • Lesson #1
    Introduction to Python
    This lesson will help you get started with all the tools you need to begin writing your very lines of Python!](/content/classes/python/introduction/index.html)


  • Lesson #2
    Syntax, Indentation, and Comments
    Python has an interesting and specific syntax. Learn all about it with this overview on the language.](/content/classes/python/syntax-indentation-comments/index.html)


  • Lesson #3
    Variables and Types
    This lesson will go over variables and types, including how to declare them, initialize them, and what each kind is.](/content/classes/python/variables-types/index.html)


  • Lesson #4
    Math
    Learn about how to do arithmetic and work with the basic math operators and functions provided by Python.](/content/classes/python/math/index.html)


  • Lesson #5
    Ifs, Elifs, Elses
    Logic and conditionals are a fundamental part of programming and is how your program can make decisions.](/content/classes/python/logic-conditionals/index.html)


  • Lesson #6
    Loops
    Learn about the two loops in Python, the for and while loop. Plus learn about the break and continue statements.](/content/classes/python/for-while-loops-break-continue/index.html)


  • Lesson #7
    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.](/content/classes/python/functions/index.html)


  • Lesson #8
    Modules
    Modules in Python are a way to import external code for you to use in your own code like third-party libraries.](/content/classes/python/modules/index.html)


  • Lesson #9
    Lists
    Learn about lists in Python which are collections that are ordered and changeable whenever you want.](/content/classes/python/lists/index.html)


  • Lesson #10
    Tuples
    Learn how to use tuples in Python which are collections that are ordered, unchangeable, and immutable.](/content/classes/python/tuples/index.html)


  • Lesson #11
    Sets
    Learn about sets in Python which are a collections of elements that are unordered and unindexed with no duplicates.](/content/classes/python/sets/index.html)


  • Lesson #12
    Dictionaries
    Learn about dictionaries in Python, which are key-value pair collections that are unordered, indexed and changable.](/content/classes/python/dictionaries/index.html)


  • Lesson #13
    Classes and Objects
    Class are blueprints to create objects which represent a collection of related properties and methods.](/content/classes/python/classes-objects/index.html)


  • Lesson #14
    Inheritance and Super
    Inheritance in Python allows us to create children classes that inherit everything from the parent class.](/content/classes/python/inheritance-super/index.html)


  • Lesson #15
    Files
    Learn how to work with files in Python including how to open, read, append, overwrite, write, and close a file.](/content/classes/python/files/index.html)


  • Lesson #16
    Directories
    Learn how to work with directories in Python including how to create, access, and remove a directory.](/content/classes/python/directories/index.html)


  • Lesson #17
    Date
    Learn how to express and work with dates and moments in time using Python's built-in date and time functionality.](/content/classes/python/date-time/index.html)


  • Lesson #18
    Encoding and Decoding JSON
    JSON is the language of data transfer. Learn how to encode and decode JSON in Python using the json module.](/content/classes/python/json/index.html)


  • Lesson #19
    Mail
    Learn how to send text and HTML mail dynamically in Python using its built-in mail module and functions.](/content/classes/python/mail/index.html)


  • Lesson #20
    Regular Expressions
    Learn how to use regular expressions search patterns in Python to match text and do advanced find and replace operations.](/content/classes/python/regular-expressions/index.html)


  • Lesson #21
    Exceptions
    Learn how to gracefully handle and recover from exceptions and errors in Python when they arise in your code.](/content/classes/python/exceptions/index.html)


  • Lesson #22
    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.](/content/classes/python/conclusion/index.html)