Python C/API Problem

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Thu Sep 17 05:51:11 EDT 2009


En Sat, 12 Sep 2009 07:37:18 -0300, Gianfranco Murador  
<mitenick at gmail.com> escribió:

> Ok, I solved the previous error changing the second argument , but i
> have another question. Does PyNode_Compile function store the object
> code in the file passed as argument? And it will be execute by python?
> I mean, it works if i type 'python prova.pyc'?

No; the filename you pass in is just to set the co_filename attribute of  
code objects, and such things.

-- 
Gabriel Genellina




More information about the Python-list mailing list