Makepy to use python with another application

Gillou nospam at bigfoot.com
Mon Dec 2 17:48:53 EST 2002


"hellprout" <hellprout at yahoo.com> a écrit dans le message de news:
5b8834c2.0212020341.46b65504 at posting.google.com...
> Hi , i just want to try to use makepy with siebel....
> but it's not just for used seibel , it's for all application using makepy
>
> i don't understand what do you do after genarating makepy ?
> i have a file with some methods , i can't import then ,

You don't need to import explicitely the module generated by makepy.
Read the HTML docs provided by Mark Hammond, there's enough to start playing
with COM objects.

>
> what can i do with this methods ?

import win32com.client

siebelObject = win32com.client.Dispatch(siebelCLSID)
x = siebelObject.someMethod(someArgs)

Ask your siebel provider for doc !!!

* What's the CLSID to use ?
* What classes are exposed ?
* What are the methods, properties, events of those classes ?

Your problem is not *pythonic*. Only siebel COM programmers can help you
further, because the API for your COM object is the same whatever's the
language you use (VBS, Python...).

Perhaps your siebel software is coming with some doc for VBS programming
(like Word, Excel, Outlook and other do). Just translate this to python.
It's very similar (as COM client point of view).

Good luck

--Gilles






More information about the Python-list mailing list