Real Python Tutorials
Using and Creating Global Variables in Your Python Functions
In this tutorial, you'll learn how to use global variables in Python functions using the global keyword or the built-in globals() function. You'll also learn a few strategies to avoid relying on global variables because they can lead to code that's difficult to understand, debug, and maintain.
Dec 08, 2024 intermediate best-practices python
Explore Real Python
Effective Python Testing With pytest
Dec 08, 2024 intermediate testing
How to Round Numbers in Python
Dec 07, 2024 intermediate best-practices python
Python Virtual Environments: A Primer
Nov 30, 2024 intermediate devops tools
Logging in Python
Nov 30, 2024 intermediate best-practices tools