dir(..) vs. PyList_GetItem

Moshe Zadka moshez at math.huji.ac.il
Wed Apr 19 00:27:34 EDT 2000


On Tue, 18 Apr 2000, Mark Pope wrote:

> 	pModule = PyModule_New( "myScript" );
                  ^^^^^^^^^^^^
That function does not import a module, it creates a new empty module.

--
Moshe Zadka <mzadka at geocities.com>. 
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com





More information about the Python-list mailing list