Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #43947

Different cache filename

From Fabian PyDEV <pydev@hotmail.com>
Subject Different cache filename
Date 2013-04-20 00:37 -0500
Newsgroups comp.lang.python
Message-ID <mailman.847.1366436271.3114.python-list@python.org> (permalink)

Show all headers | View raw


Hi,

when load a module "mymodule.py" with importlib.machinery.SourceFileLoader a bytecode file is created as mymodule.cpython-33.pyc.

If I load a module "mymodule.ext.py" the same way the same bytecode file is created as mymodule.cpython-33.pyc.

Is there any way I could tell python to generate the bycode file as mymodule.ext.cpython-33.pyc?

Regards,
Fabian

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Different cache filename Fabian PyDEV <pydev@hotmail.com> - 2013-04-20 00:37 -0500

csiph-web