On Mon, Jan 4, 2016 at 5:49 PM, <jf...@ms4.hinet.net> wrote: > For example, > > name = "test" # test.py is a module's file > import name
Yes, use the importlib.import_module function. -- https://mail.python.org/mailman/listinfo/python-list
On Mon, Jan 4, 2016 at 5:49 PM, <jf...@ms4.hinet.net> wrote: > For example, > > name = "test" # test.py is a module's file > import name
Yes, use the importlib.import_module function. -- https://mail.python.org/mailman/listinfo/python-list