Try THIS Simple Python Decorator (It's Super Useful)
Decorators in Python have lots of great uses, and I think this one is one of the simplest yet most powerful uses to help avoid bugs and keep your code neat and tidy.
# Patreon: https://www.patreon.com/johnwatsonrooney
# Donations: https://www.paypal.com/donate/?hosted_button_id=7HNSFPRR9N63Y
# Proxies: iproyal.club/JohnWatsonRooney
# Hosting: Digital Ocean: https://m.do.co/c/c7c90f161ff6
# Gear I use: https://www.amazon.co.uk/shop/johnwatsonrooney
Comments are closed.