From: Haoyu B. <div...@gm...> - 2009-03-27 02:42:28
|
On Fri, Mar 27, 2009 at 6:01 AM, <mi...@nc...> wrote: > Sorry, I misunderstood the meaning of the docs and got a bit of tunnel vision on that point. Thanks for persisting and straightening me out. > > When attempting to do an import, I get: > > C:\Program Files\Adobe\Copy of fdk7.2>python > Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more information. >>>> import example > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "example.py", line 28, in <module> > import _example > ImportError: No module named _example > > The docs show this to be a common error, but I've convoluted my makefile every which way I could think of to resolve, but cannot. > In Windows and Python >= 2.5, the DLL module extension name should not be .dll but .pyd, as said here: http://docs.python.org/extending/windows.html -- Haoyu Bai |