Is it always bad practice to use global variables in Python scripts, or are there justified exceptions?
ProgrammingI'm working on a data processing script where a few configuration parameters are truly global across multiple functions and modules. I've been told global variables are evil, but passing them everywhere feels like over-engineering for this specific use case. Am I missing a best practice pattern here, or can I sometimes bend the rules without breaking maintainability?