472,126 Members | 1,550 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,126 software developers and data experts.

how to call API Functions in python

how to call API Functions in python
Aug 17 '08 #1
5 1513
raashid bhatt wrote:
how to call API Functions in python
The same way as you'd call any other function, of course. What API are
you referring to?

</F>

Aug 17 '08 #2
On Aug 17, 11:08*am, Fredrik Lundh <fred...@pythonware.comwrote:
raashid bhatt wrote:
how to call API Functions in python

The same way as you'd call any other function, of course. *What API are
you referring to?

</F>
i am talking about WINAPI
Aug 17 '08 #3
On Sun, 17 Aug 2008 11:22:52 -0700 (PDT), raashid bhatt wrote:
how to call API Functions in python

The same way as you'd call any other function, of course. *What API are
you referring to?
i am talking about WINAPI
I am not a Windows guy, but maybe ctypes module will be helpful
for you.

--
Regards,
Wojtek Walczak,
http://www.stud.umk.pl/~wojtekwa/
Aug 17 '08 #4
raashid bhatt wrote:
>The same way as you'd call any other function, of course. What API are
you referring to?

i am talking about WINAPI
use pywin32 or ctypes:

http://wiki.python.org/moin/PyWin32
http://docs.python.org/lib/module-ctypes.html

for some kinds of Windows programming, IronPython might be an even
better choice:

http://www.codeplex.com/IronPython

</F>

Aug 17 '08 #5
On Aug 17, 11:27*am, Wojtek Walczak <gmin...@bzt.bztwrote:
On Sun, 17 Aug 2008 11:22:52 -0700 (PDT), raashid bhatt wrote:
how to call API Functions in python
The same way as you'd call any other function, of course. *What API are
you referring to?
i am talking about WINAPI

I am not a Windows guy, but maybe ctypes module will be helpful
for you.

--
Regards,
Wojtek Walczak,http://www.stud.umk.pl/~wojtekwa/
Thanks a lot man That is what i wanted to know
Aug 17 '08 #6

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.