Is there a way importing a string object?

jfong at ms4.hinet.net jfong at ms4.hinet.net
Mon Jan 4 19:49:26 EST 2016


For example,

name = "test"  # test.py is a module's file
import name

Regards,
Jach



More information about the Python-list mailing list