Lines Matching defs:compile
1 """Routine to "compile" a .py file to a .pyc file.
15 __all__ = ["compile", "main", "PyCompileError", "PycInvalidationMode"]
20 compile the file.
79 def compile(file, cfile=None, dfile=None, doraise=False, optimize=-1,
81 """Byte-compile one Python source file to Python bytecode.
89 raised when a compile error is found. If an exception occurs and this
103 Note that it isn't necessary to byte-compile Python modules for
109 good idea to byte-compile all modules upon installation, since
116 byte-compile all installed files (or all files in selected
189 help='Files to compile',
198 compile(filename, doraise=True)