Greg Stein
gstein at lyra.org
Fri May 26 08:21:34 EST 2000
On Fri, 26 May 2000 grisha at verio.net wrote: > On Fri, 26 May 2000, Greg Stein wrote: > > > *) avoid exec/eval: they are quite slow, and can pose a security risk > > *) to import modules, use: module = __import__(module_name) > > The reasoning behind using exec to import was that __import__ doesn't > understand dots (packages), Eh? Sure it does. Cheers, -g -- Greg Stein, http://www.lyra.org/
|