Re: import dll instead of pyd

2008-07-25 Thread Fredrik Lundh
jrh wrote: Yes it is in the same directory. The problem is it does not seem to look for dll's at all. So is this by design, or am I missing something? looks like that was removed in 2.5; from Misc/NEWS: - On Windows, .DLL is not an accepted file name extension for extension modules anymore;

Re: import dll instead of pyd

2008-07-24 Thread jrh
Yes it is in the same directory. The problem is it does not seem to look for dll's at all. So is this by design, or am I missing something? On 25 Juli, 10:03, Nick Dumas <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Is this DLL in the same directory as your scrip

Re: import dll instead of pyd

2008-07-24 Thread Nick Dumas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is this DLL in the same directory as your script? If not, is it part of your pythonpath? If neither are true, then you won't be able to import it, regardless of whether it's a good file or not. jrh wrote: > Hello, > > From previous posts and document

import dll instead of pyd

2008-07-24 Thread jrh
Hello, >From previous posts and documentation it seems python should be able to import a module that is compiled into a .dll just as well as a .pyd. I have a pyd that works fine, but after renaming it to dll the import fails. Running python with -vv flag indicates it doesn't actually look for the