import idea

Joel Lucsy jjlucsy at concentric.net
Thu Mar 2 16:21:19 EST 2000


Is it possible to not have to explicitly do imports? Such as:
         fl=glob.glob('*')
without the:
         import glob
Is there a __getattr__ for globals that could trap the glob not being
present, see if it could import it, etc....?
Just wondering, I have no current need. Nor do I think it should be a
standard. Just something that an individual could cook up for his system to
really bash out scripts in record time.

--
 - Joel Lucsy (jjlucsy at concentric.net)








More information about the Python-list mailing list