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


Groups > comp.lang.python > #43947 > unrolled thread

Different cache filename

Started byFabian PyDEV <pydev@hotmail.com>
First post2013-04-20 00:37 -0500
Last post2013-04-20 00:37 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#43947 — Different cache filename

FromFabian PyDEV <pydev@hotmail.com>
Date2013-04-20 00:37 -0500
SubjectDifferent cache filename
Message-ID<mailman.847.1366436271.3114.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web