6) Advanced Python Concepts Lesson

Advanced Python Concepts

3 min to complete · By Martin Breuss

Contents

  1. Introduction

In the upcoming section, you'll learn about some more advanced topics of the Python language in small and self-contained lessons.

Photo by https://unsplash.com/@michalmatlon Michal Matlon on Unsplash

Photo by Michal Matlon https://unsplash.com/@michalmatlon

You might not need to work with these concepts yet, but it's still good to know about them and spend some time practicing them, too.

The topics you'll learn about are:

  • Different ways of using the import statement
  • Using your custom code as a Python module
  • Working with if __name__ == "__main__:" in Python
  • Other types of Python comprehensions
  • Using Generator expressions
  • Using Lambda expressions

You'll also learn about the difference between expressions and statements at the end of the section.