Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #77890
| Date | 2014-09-15 22:14 +0800 |
|---|---|
| Subject | What's the function location that reads the cached .pyc file from disk. |
| From | Shiyao Ma <i@introo.me> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.14028.1410790467.18130.python-list@python.org> (permalink) |
Hi. what's the location of the function that reads the .pyc file ? I bet it should lie in somewhere in https://hg.python.org/cpython/file/322ee2f2e922/Lib/importlib But what's the actual location? Btw, why I need it? I want to know the structure of a .pyc file. Of course the function that reads the .pyc must know something about it. (I am aware of the structure of a typical .pyc file from some clicks of google pages, but I am interested in the *source* and the most authoritative answer, aka, the source code). Thanks. -- 吾輩は猫である。ホームーページはhttp://introo.me。
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
What's the function location that reads the cached .pyc file from disk. Shiyao Ma <i@introo.me> - 2014-09-15 22:14 +0800
csiph-web