I am trying out Python for a new project, and in that state, need some global variable. To test without changing the hardcoded value, I\'ve tried to make a function that reassig
foo = None; def setFoo(bar): global foo foo = bar setFoo(1);