What's the function location that reads the cached .pyc file from disk.
Shiyao Ma
i at introo.me
Mon Sep 15 10:14:24 EDT 2014
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。
More information about the Python-list
mailing list