PythonHub
2.41K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Object Oriented Programming (OOPS) in Python

Object oriented programming is an effective way of writing code. You create classes which are ...

https://www.machinelearningplus.com/python/object-oriented-programming-oops-in-python/
This Is Why Python Data Classes Are Awesome

Data classes in Python are really powerful and not just for representing structured data. In this video I show you what you can do with dataclasses as well as new capabilities that have been added in Python 3.10.

https://www.youtube.com/watch?v=CvQ7e6yUtnw
Python and Qt Simplified. Create a Python GUI in Minutes

https://build-system.fman.io/
Overlooked facts about variables and objects in Python: it's all about pointers

In Python, variables and data structures don’t contain objects. This fact is both commonly overlooked and tricky to internalize. You can happily use Python for years without really understanding the concepts below, but this knowledge can certainly help alleviate many common Python gotchas.

https://treyhunner.com/2022/03/variables-objects-and-pointers-in-python/
Discovering basic blocks

In this post, we will learn how to construct a control-flow graph (CFG) from a subset of CPython (3.6+) bytecode. We will also coincidentally be using Python (3.6+) as a programming language, but the concepts should be applicable to other bytecode and using other programming languages.

https://bernsteinbear.com/blog/discovering-basic-blocks/
Decorators in Python – How to enhance functions without changing the code?

Decorators in python allow you to dynamically change the functionality of another function, without ...

https://www.machinelearningplus.com/python/decorators-in-python-how-to-enhance-functions-without-changing-the-code/
Does Coding in Pythonic Zen Peak Performance?

https://arxiv.org/pdf/2203.14484.pdf