StackTips

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!

01. 

Introduction to Python

This lesson will help you get started with all the tools you need to begin writing your very lines of Python!

02. 

Syntax, Indentation, and Comments

Python has an interesting and specific syntax. Learn all about it with this overview on the language.

03. 

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.

04. 

Math

Learn about how to do arithmetic and work with the basic math operators and functions provided by Python.

05. 

Ifs, Elifs, Elses

Logic and conditionals are a fundamental part of programming and is how your program can make decisions.

06. 

Loops

Learn about the two loops in Python, the for and while loop. Plus learn about the break and continue statements.

07. 

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.

08. 

Modules

Modules in Python are a way to import external code for you to use in your own code like third-party libraries.

09. 

Lists

Learn about lists in Python which are collections that are ordered and changeable whenever you want.

10. 

Tuples

Learn how to use tuples in Python which are collections that are ordered, unchangeable, and immutable.

11. 

Sets

Learn about sets in Python which are a collections of elements that are unordered and unindexed with no duplicates.

12. 

Dictionaries

Learn about dictionaries in Python, which are key-value pair collections that are unordered, indexed and changable.

13. 

Classes and Objects

Class are blueprints to create objects which represent a collection of related properties and methods.

14. 

Inheritance and Super

Inheritance is an important concept of OOP. It is a process by which a class can inherit properties from another class.

15. 

Files

Learn how to work with files in Python including how to open, read, append, overwrite, write, and close a file.

16. 

Directories

Learn how to work with directories in Python including how to create, access, and remove a directory.

17. 

Date

Learn how to express and work with dates and moments in time using Python's built-in date and time functionality.

18. 

Serialising and Deserialising JSON

JSON is the language of data transfer. Learn how to encode and decode JSON in Python using the json module.

19. 

Mail

Learn how to send text and HTML mail dynamically in Python using its built-in mail module and functions.

20. 

Regular Expressions

Learn how to use regular expressions search patterns in Python to match text and do advanced find and replace operations.

21. 

Exceptions

Learn how to gracefully handle and recover from exceptions and errors in Python when they arise in your code.

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.