Call C functions from Python

Grant Edwards grante at visi.com
Wed Oct 5 10:52:47 EDT 2005


On 2005-10-05, Java and Swing <codecraig at gmail.com> wrote:
> i tried...
>
>>> from ctypes import *
>>> myapp = cdll.LoadLibrary("c:\\myapp.dll")
>>> dumpbin /exports myapp.pyd
>
> i get, SyntaxError: invalid syntax with it pointing at the first "p" in
> myapp.pyd.

Um, just a guess, but I don't think that was python code.  

Try it at a command prompt.

-- 
Grant Edwards                   grante             Yow!  The entire CHINESE
                                  at               WOMEN'S VOLLEYBALL TEAM all
                               visi.com            share ONE personality --
                                                   and have since BIRTH!!



More information about the Python-list mailing list