I have split a 1000+ row python source code file into multiple files that I now 'import' as required. These new smaller files define Global Variables used across the whole solution. When running my code in Spyder 5.0.5, I cannot see these Global Variables in the Variable Explorer.
Example: *code1.py* def function1(): global *var1* *var1* = "Hello" *code0.py* import code1 as c1 def do_something(): c1.function1() *the_answer* = c1.*var1* + " Peter" When running "code0", I want to see both variables in the explorer: *the_answer* *and* *var1*, but I only see *the_answer.* How can I do this? -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/1796d2ac-dcd1-4762-accb-46d8cf9e1ef3n%40googlegroups.com.