Why don't I get a .pyc file?

sp00fD sp00fD at yahoo.com
Fri Aug 18 20:31:50 EDT 2000


In article <slrn8prjl1.21e.rickp at tc.telocity.com>,
  rickp at telocity.com wrote:
> I'm running linux, python 1.5.2.
>
> Isn't a .pyc file supposed to be automatically created whenever
> I run a .py file? Why don't I get one for the program I wrote?
>
> --

actually, whenever you import a .py module.
you can cause it to happen with (I don't have an executable handy, so
this is from memory) python -O, or python -OO (will give .pyo).


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



More information about the Python-list mailing list