Home | History | Annotate | Download | only in Lib

Lines Matching defs:compile

1 """Routine to "compile" a .py file to a .pyc (or .pyo) file.

15 __all__ = ["compile", "main", "PyCompileError"]
20 compile the file.
71 def compile(file, cfile=None, dfile=None, doraise=False):
72 """Byte-compile one Python source file to Python bytecode.
82 raised when a compile error is found. If an exception
89 Note that it isn't necessary to byte-compile Python modules for
95 good idea to byte-compile all modules upon installation, since
102 byte-compile all installed files (or all files in selected
113 codeobject = __builtin__.compile(codestring, dfile or file,'exec')
132 """Compile several source files.
152 compile(filename, doraise=True)
162 compile(filename, doraise=True)