Python importlib: possible to load into existing module?

后端 未结 0 528
暖寄归人
暖寄归人 2020-12-22 06:21

I am loading objects (configuration really) from a file into some special module like this:

import importlib
modname = "__config__"
spec = importlib         


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