Proposal: Inline Import

Erik Max Francis max at alcyone.com
Fri Dec 9 19:19:10 EST 2005


Shane Hathaway wrote:

> I'd like a way to import modules at the point where I need the 
> functionality, rather than remember to import ahead of time.

You can already do this; import statements don't have to be at the top 
of a Python script.  This proposal is pretty much dead on arrival.

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
   There's a reason why we / Keep chasing morning
   -- Sandra St. Victor



More information about the Python-list mailing list