imp module

Matthew Dixon Cowles matt at
Thu Sep 28 19:07:43 CEST 2000

On Thu, 28 Sep 2000 15:22:09 +0200, Magnus Heino
<magnus.heino at> wrote:

>I want to import a module that dont know the name of then coding.

I think that the easy way to do what you want is to read the module
into a string and then use Fredrik Lundh's technique for importing a
module from a string. It's at


More information about the Python-list mailing list