Hi. I've coded some stuff a long time ago, and didn't have reason to take up programming until now. I've learned Python 'on-the-go' and now ran into the idea of avoiding global variables of any kind.

Are there any basic techniques used to avoid global variables? I have a bunch of functions defined to make it easier to debug and develop. The only way I came up with is to send all the necessary variables to each function, but I'm not...