extending python

Michael Hudson mwh at python.net
Sat Sep 4 08:35:25 EDT 2004


Ajay <abra9823 at mail.usyd.edu.au> writes:

> hi!
> 
> i have written simple C file and am now trying to call it from Python
> the file is pasted below.
> I can compile it to testdll.dll but when i call it from Python, i get an
> import error: No module named testdll

How are you compiling it?  Where is the DLL?

Cheers,
mwh

-- 
  : exploding like a turd
  Never had that happen to me, I have to admit.  They do that
  often in your world?              -- Eric The Read & Dave Brown, asr



More information about the Python-list mailing list