Jeff Slutter wrote:
My situation is that I have a .py file that defines a function. In this
function it makes reference to some variables that aren't defined in its
scope:
(in a very simple way, it is like this -- a lot more is going on, but it
isn't relevant)
import MyModule
def TestFunction(
My situation is that I have a .py file that defines a function. In this
function it makes reference to some variables that aren't defined in its
scope:
(in a very simple way, it is like this -- a lot more is going on, but it
isn't relevant)
import MyModule
def TestFunction(x):
return SomeClass