Python: module lost from scope in code block passed to exec(…)

后端 未结 0 809
旧巷少年郎
旧巷少年郎 2020-12-19 02:42

Calling the imported function helpers.test_func(...) succeeds when called directly in the code block.

But fails with this exception:

          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题