import sys.argv[1]

Ben b.e.n. at .r.e.h.a.m.e...c.o.m
Mon Jun 11 03:15:30 EDT 2001


Hi all,

this must have been a situation that lots of people have  come across
so there has to be a work around for it. If I define via a command
line arg what module(s) needs to be imported how do i then pass this
to the import statement without the import statement taking

sys.argv[1]

literally? 

Thanks

Ben




More information about the Python-list mailing list