No Image

Operators and Expressions in Python

18 9 月, 2023 Real Python 0

In Python, operators are special symbols, combinations of symbols, or keywords that designate some type of computation. You can combine objects and operators to build expressions that perform the actual computation. So, operators are the building blocks of expressions.

No Image

Bypassing the GIL for Parallel Processing in Python

13 9 月, 2023 Real Python 0

In this tutorial, you’ll take a deep dive into parallel processing in Python. You’ll learn about a few traditional and several novel ways of sidestepping the global interpreter lock (GIL) to achieve genuine shared-memory parallelism of your CPU-bound tasks.

No Image

Object-Oriented Programming (OOP) in Python 3

11 9 月, 2023 Real Python 0

In this tutorial, you’ll learn all about object-oriented programming (OOP) in Python. You’ll learn the basics of the OOP paradigm and cover concepts like classes and inheritance. You’ll also see how to instantiate an object from a class.

No Image

Generate Beautiful QR Codes With Python

6 9 月, 2023 Real Python 0

In this tutorial, you’ll learn how to use Python to generate QR codes, from your standard black-and-white QR codes to beautiful ones with your favorite colors. You’ll learn how to format QR codes, rotate them, and even replace the static background with moving images.

No Image

Python News: What’s New From August 2023

4 9 月, 2023 Real Python 0

In August 2023, Python 3.12.0rc1 was released. Microsoft announced Python in Excel. The Python Software Foundation published its Annual Impact Report for 2023, and the Python ecosystem released new versions of several important projects, such as Django, Pydantic, and Flask.