Apr-03-2019, 07:18 AM
Indeed.
...but I do call the function from within the REPL (not the module) as I enter:
...but I do call the function from within the REPL (not the module) as I enter:
from code import * func() print(a)I would expect to get 1 (rather than 0) as when entering the content from code.py directly into the REPL. I am still puzzled...