Is there a way to change the directory where .pyc file are created by the Python interpreter? I saw two PEPs about that subject (0304 and 3147), but none seems
.pyc
This might be useful for some: Miscellaneous options, especially -B option:
If given, Python won’t try to write .pyc files on the import of source modules. See also PYTHONDONTWRITEBYTECODE.
PYTHONDONTWRITEBYTECODE