import jsonsempai modname = input("Write module name: ") with jsonsempai.imports(): from tmp import modname