Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #77890 > unrolled thread
| Started by | Shiyao Ma <i@introo.me> |
|---|---|
| First post | 2014-09-15 22:14 +0800 |
| Last post | 2014-09-15 22:14 +0800 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
What's the function location that reads the cached .pyc file from disk. Shiyao Ma <i@introo.me> - 2014-09-15 22:14 +0800
| From | Shiyao Ma <i@introo.me> |
|---|---|
| Date | 2014-09-15 22:14 +0800 |
| Subject | What's the function location that reads the cached .pyc file from disk. |
| Message-ID | <mailman.14028.1410790467.18130.python-list@python.org> |
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 top | Article view | comp.lang.python
csiph-web