Skip to content

Instantly share code, notes, and snippets.

@holvi-mikael
holvi-mikael / reactive_menu.py
Created August 1, 2022 18:21
Basic reactive menu layout
import flet
from flet import AppBar
from flet import Card
from flet import Column
from flet import Container
from flet import Icon
from flet import IconButton
from flet import NavigationRail
from flet import NavigationRailDestination
from flet import Page
@Zearin
Zearin / python_decorator_guide.md
Last active June 20, 2025 06:17
The best explanation of Python decorators I’ve ever seen. (An archived answer from StackOverflow.)

NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.


Q: How can I make a chain of function decorators in Python?


If you are not into long explanations, see [Paolo Bergantino’s answer][2].