[Python-Help] imp.load_module from a string

Moshe Zadka moshez at math.huji.ac.il
Mon Jul 10 07:13:35 EDT 2000


On Mon, 10 Jul 2000, Chris Withers wrote:

> Thanks for the help so far :-)
> 
> Okay, another question: What is the difference between the contents of a
> .pyc file and what is returned by compile(str,'notafile','exec')?

Some bureaucracy in the header file.
(Of course, I take it to be the difference beween the *marshal* of
whatever is returned by compile)

--
Moshe Zadka <moshez at math.huji.ac.il>
There is no GOD but Python, and HTTP is its prophet.





More information about the Python-list mailing list