473,396 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

how to call API Functions in python

how to call API Functions in python
Aug 17 '08 #1
5 1548
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: FAN | last post by:
I want to define some function in python script dynamicly and call them later, but I get some problem. I have tried the following: ################################## # code...
19
by: Riko Wichmann | last post by:
hi everyone, I'm googeling since some time, but can't find an answer - maybe because the answer is 'No!'. Can I call a function in python inline, so that the python byte compiler does...
7
by: beginner | last post by:
Hi Everyone, I have encountered a small problems. How to call module functions inside class instance functions? For example, calling func1 in func2 resulted in a compiling error. "my module...
6
by: mh | last post by:
I'm cleaning up some old code, and want to see what orphan functions might be sitting around. Is there a static call tree analyzer for python? Many TIA! Mark -- Mark Harrison
275
by: Astley Le Jasper | last post by:
Sorry for the numpty question ... How do you find the reference name of an object? So if i have this bob = modulename.objectname() how do i find that the name is 'bob'
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.