Re: Waht are *.pyc for?

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

 



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@xxxxxxxxxx
--
Matt Wilson
Manager, Base Operating Systems
Red Hat, Inc.




[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux