Python extension package namespace

Courageous jkraska1 at san.rr.com
Mon Apr 16 20:23:33 EDT 2001


On 17 Apr 2001 00:09:08 GMT, tuthach at aix09.unm.edu (Tu-Thach) wrote:

>I have written a simple test extension module for Python and called it 
>testxyz.  What I'd like to know is how can I make the module so that when 
>I call it from Python I can use
>from test.testxyz import *

You need to prep up your directory with "__init__.py"

C//




More information about the Python-list mailing list