Configuring pyc directory

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Mon Sep 29 22:56:42 EDT 2008


En Sat, 27 Sep 2008 19:06:25 -0300, Robert Moore <rmoore787 at gmail.com>  
escribió:

> Is there a way to configure python to read/write compiled pyc files for
> modules in a directory other than the directory containing the original  
> py
> files?

If you use the py_compile module, you can specify three files: the source  
file name (and path), the destination file name (and path), and the file  
name as reported on errors and such.

-- 
Gabriel Genellina




More information about the Python-list mailing list