< BACKMake Note | BookmarkCONTINUE >
152015024128143245168232148039199167010047123209178152124239215162146124202005176183134021

py_compile

The py_compile module is a single function that compiles Python source files, generating a byte-code file.

					
>>> import py_compile
>>> py_compile.compile("testprogram.py")

				


Last updated on 1/30/2002
Python Developer's Handbook, © 2002 Sams Publishing

< BACKMake Note | BookmarkCONTINUE >

Index terms contained in this section

modules
      py_compile
py_compile module

© 2002, O'Reilly & Associates, Inc.