Browsed by
Category: Programming

Python Decorators — Tutorial

Python Decorators — Tutorial

Introduction It’s been absolutely ages since I’ve had the time or inclination to write an informational blog post, but development of a new room has finally given me an excuse! This post will have a look into Python decorators — a really cool construct that allows you to pre-process functions; very useful when working with Flask apps, or Discord bots, where they are used for things like routes and authentication, or to specify commands. Decorators are a tricky concept to…

Read More Read More

Scroll Up