Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #43947 > unrolled thread
| Started by | Fabian PyDEV <pydev@hotmail.com> |
|---|---|
| First post | 2013-04-20 00:37 -0500 |
| Last post | 2013-04-20 00:37 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
Different cache filename Fabian PyDEV <pydev@hotmail.com> - 2013-04-20 00:37 -0500
| From | Fabian PyDEV <pydev@hotmail.com> |
|---|---|
| Date | 2013-04-20 00:37 -0500 |
| Subject | Different 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
Back to top | Article view | comp.lang.python
csiph-web