Welcome to the mid-level course on Python! In this course, you will learn a lot about more advanced features of the language and some best practices for using those. This course is designed for people who already have some background in Python and would like to improve their knowledge and learn more advanced topics.
At the end of this course, you’ll know how to use classes and be fluent in inheritance. We will cover best practices for writing code for larger projects and will use typing which helps in statically analyzing the code to detect errors. You will work with decorators and create your own utility decorators that will significantly reduce the code's size. We will discuss iterators and iterables along with the itertools standard library. glob and pathlib will be used to work with the filesystem. Most importantly, we will learn how to use async / await to optimize our code when working with large I/O, databases, and network requests.
🤔 How...?
In this course, you learn by doing! Each concept has several interactive challenges that you will solve to pass on to the next one. We believe that hands-on learning is the best way to get in-depth knowledge. Here you will have many challenging and at the same time interesting exercises to practice each and every concept that is covered.
You will study at your own pace. You can go hard and complete several levels in one week, or take it slow and focus on each concept for longer.
There is a forum to ask questions and get unstuck. You can ask or answer the questions of others under each challenge.
🎓 What will you learn?
This course focuses on the core concepts and some advanced features of Python and introduces each of them in an intuitive manner. To make the process more fun and engaging, the concepts are organized into levels, and passing each level means you’ve mastered a new concept. These are the main things we will be covering here:
Advanced functions
Positional-only & keyword-only arguments
Recursion
Pass by value VS pass by reference (mutable arguments)
Regular expressions
Basics and applications of regular expressions
Searching and matching
Classes
Defining classes
Setting and accessing attributes
The __init__ constructor
Defining methods inside classes
Magic methods
Inheritance
Inheriting from a base class
Modifying the functionality by overriding a method
Extending the functionality with the help of super()
Inheriting from several base classes
Modules
Modules in filesystem
Module initialization
importing variables, functions, and classes
Working with libraries
Typing
Typing for built-in types (int, list, dict, etc)
Typing for custom classes
Typing inside a class
Static analysis - what can we accomplish and what are the limitations
Learning is 80% individual work! Completing this course will be your accomplishment and we’re here to support that journey. Join us on Discord for discussions and meet other learners by following this link: https://discord.gg/TTTEcu2Jju (try changing the browser in case the invitation doesn’t work).