Python pyc files 2005-05-13 - By Erik
Back They're usually created the first time you import a .py module in a script by the Python interpreter, after which the interpreter will always import the .pyc file instead for speed.
You can use the py_compile and compileall modules to compile certain Python files or an entire directory of source files to the .pyc bytecode format, so check the references for those modules.
Cheers,
Erik
On Fri, 2005-05-13 at 13:42 +0100, Alan Jones wrote: > Hi All, > > Sorry for the basic question, but googling was leading me to topics > way off. I'm just wondering what I could use to generate pyc files > from py files from the command line in linux? > > cheers, > > Alan. > > --- > Unsubscribe? Mail Majordomo@(protected) with the following text in body: > unsubscribe xsi > --
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|