[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Declaring variables in function as if at code's line-level



Hi pygame users, just a simple question-- How can one cause variables
at "function-level" to behave like variables at "line-level"? (With
basic python code) I just want to avoid using "global" over and over
again (in many different functions) while I want to declare, use, and
delete all my game's variables inside functions.Thanks.
Matt