compilation

Frédéric van der Plancke fplancke at my-deja.com
Mon Jul 3 15:59:45 EDT 2000


In article <8jfc7h$so4$1 at bmerhc5e.ca.nortel.com>,
  msoulier at nortelnetworks.com wrote:
> In article <8jdi5s$om4$1 at nnrp1.deja.com>, Frédéric van der Plancke
wrote:
> >
> >When the interpreter finds a xxx.pyc file on your Python path when
> >you type 'import xxx', it loads that directly instead of recompiling
> >xxx.py  (provided xxx.py is older, and other soundness conditions)
> >
> >Is that what you want ?
>
> 	Umm, sort of. I guess the top-level script still has to be a
.py file.

I don't think it is needed. Python can check if a .pyc already exists
for your top-level script. But I'm not 100% sure...

--
Frederic van der Plancke
e-mail address: reverse and add dot-at-dot to:
      <com writeme vdplancke frederic>
(I don't read <fplancke at my-deja.com> regularly.)


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list