[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Waht are *.pyc for?



On Fri, May 23, 2003 at 12:46:26AM +0200, Vladimir Djokic wrote:
> 
> 	Hello,
> 	I'm new to list, and after looking at some part of anaconda in
> stage2.img and source, I've noticed that there are *py (python), but
> also *.pyc files. What are there for (*.pyc) and are there essential to
> anaconda during installation (I added new install class by adding only
> *.py file to stage2.img and it worked)? Any links, clues or similar are
> welcome:)

They're pre-compiled python - that is - python bytecode instead of the
source code that is in the .py file.  If there isn't a .pyc then
python will have to parse it all before executing.

Cheers,

Matt
msw redhat com
--
Matt Wilson
Manager, Base Operating Systems
Red Hat, Inc.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]