Can I call a function nested inside another function from the global scope in python3.2?
def func1(): def func2(): print(\"Hello\") retur
This is based on eyquem's solution.
def func1(): global func2 # put it in global scope def func2(): print("Hello")
Now you can invoke func2 directly.
But func1() would have to be called before you can call func2() otherwise it will not have been defined yet.