.pyc files

Peter Hansen peter at engcorp.com
Tue Jan 28 03:55:01 CET 2003


Newt wrote:
> 
> Silly question:
> 
> From a command line, how do I create pyc files? I know I can do it from
> within IDLE, but I want to use a different editor (for other languages).

I just started wondering, why do you want to do this?  Do you
realize that Python automatically creates the pyc files for
you when you import modules?  It is only in rare cases that
you actually need to generate a .pyc file "manually".  Maybe
this is not such a case?  Just wondering...
 
-Peter




More information about the Python-list mailing list