Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Intermediate Python: Memory, Decorator, Async, Cython & more
Rating: 4.4 out of 5(332 ratings)
2,844 students

Intermediate Python: Memory, Decorator, Async, Cython & more

Stand out from the mass. Become a Python expert and understand what the CPython API, PyBind11 and more is.
Created byJan Schaffranek
Last updated 7/2024
English

What you'll learn

  • Memory management of variables in Python (Mutability)
  • The correct use of sequences and iterables
  • Functions, Decorators, Lambdas etc.
  • Object orientation and inheritance
  • The integration of Cython code
  • Using the Python C API
  • Async and Parallel Code

Course content

13 sections63 lectures6h 17m total length
  • Introduction to the course2:28

    Explore memory management, mutability, decorators, and async programming with threading in Python, and speed up computations using the C Python API with C or C++, plus args and kwargs.

  • Course manual2:19
  • Course materials0:09
  • The creation of the environment1:58
  • Visual Studio Code Setup3:35

    Install Visual Studio Code, a cross-platform editor that becomes an IDE with extensions; open your project, install coding tools and python dev extension packs, then generate python config files.

Requirements

  • The basics of Python programming (variables, lists, dicts, classes etc.)
  • Experience in using the terminal

Description

The course was updated and covers topics from Python Version 3.12!

Course Description:

The course covers intermediate to advanced Python programming techniques.
This means that the course is not aimed at programming beginners.
This course is compact, instructive, and useful. You learn not only how to use Python well, but also more abstract concepts that are transferable to other languages, as well as how to create a good programming environment.

Prerequisites:

  •  Creating and using variables  

  •  If-statements, loops and logical expressions  

  •  Implementing your own functions and classes  

  •  Importing from external packages  

In the course we will use Visual Studio Code (VSCode) as the IDE which is free for all operating systems.
I assume that you have already Python 3.8 or newer on your system, if not you could install it via Anaconda for example.

This course consists of the following topics:

  • Memory management of variables in Python  

  • Mutable and Immutable Types

  • Shallow and Deep Copies

  • The correct use of containers (list, dict, set etc.)

  • f-Strings formatting

  • Functions and Decorators

  • args and kwargs Arguments

  • Object orientation and inheritance  

  • Special Dunder Methods

  • Dataclass, Enum and NamedTuple

  • The integration of Cython  

  • Using the Python C API (CPython)

  • Using PyBind11 (introductory example)

  • Using Numba and Mypyc

  • Using multiprocessing and multithreading

  • Global Interpreter Lock (GIL) in Python

  • Using asynchronous programming


Become a pro today, in the technology of tomorrow!
See you in class!



Note:

In the course, Python is installed via Anaconda. If this is not possible for you, you can also install Python from other sources.

Who this course is for:

  • Python developer with basic knowledge