Produce .pyc without execution

Adrian Eyre a.eyre at optichrome.com
Fri Oct 29 11:42:18 EDT 1999


> Is there a way to compile a module without executing it? Just check syntax
> and produce the .pyc file?

See Lib/compileall.py

--------------------------------------------
Adrian Eyre <mailto:a.eyre at optichrome.com>
Optichrome Computer Solutions Ltd
Maybury Road, Woking, Surrey, GU21 5HX, UK
Tel: +44 1483 740 233  Fax: +44 1483 760 644
http://www.optichrome.com 
--------------------------------------------





More information about the Python-list mailing list