RE: how to call 'overloaded' COM methods

2002-01-28 Thread Stefan Kuzminski
The python error is correct in that you are trying to assign a value to a python function call, which is outside the python syntax. VB syntax uses the () to indicate a index operation which you can assign to, there is often an extra call in the Python interface to the com object to get around thi

Re: how to call 'overloaded' COM methods

2002-01-28 Thread Matthew
Also, try this.. >> headerObj.__class__ and >> dir(headerObj.__class__) and >> headerObj.__class__._prop_map_get_ and >> headerObj.__class__._prop_map_put_ Have fun :) Matthew Sherborne - Original Message - From: "Anesh Madapoosi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesd

dynamic inheritence question

2002-01-28 Thread Stefan Kuzminski
This is more a general python question, but does anyone know how to modify the inheritance of an object ( an actual instance of an object not the class definition ) at runtime? i.e. I have class A: and class B I go along happily.. a = A() b = B() now I want b inherit from a, using the obj

Re: how to call 'overloaded' COM methods

2002-01-28 Thread Matthew
Have you tried: >> headerObj.name = "value" and >> headerObj.SetAttribute('name', 'value') or >> headerObj.Attribute['name'] = 'value' Just an idea :) Matthew Sherborne - Original Message - From: "Anesh Madapoosi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January

how to call 'overloaded' COM methods

2002-01-28 Thread Anesh Madapoosi
Hi, I am trying to invoke some calls on com objects, and I am getting weird errors. The calls seem a little strange to me (overloaded functions or something like that) and I was wondering if anyone can help. The interface is defined here http://msdn.microsoft.com/library/default.asp?url=/libr

Advanced COM help request

2002-01-28 Thread Matthew
Hi all,   I hate to do this but my situation is desparate!   Could somone please generate for me the COM/Python bridge for the HTMLEditHost interface.   I would do it but I don't have a c++ compiler or know how to use it!   Here's my situation incase anyone cares...   I'm project admin, for

Re: Re: COM server implementing given Interface by Volker Siepmann

2002-01-28 Thread Trent Mick
On Tue, Jan 22, 2002 at 08:54:11AM -0500, Curtin, Craig wrote: > hi, > i'm wondering if Volker ever got this issue solved? i need to > do something similar. i'm trying to create a python COM server to > implement the AsyncEvents interface for exchange. i found a vb > sample in the exchange

Re: beginner's doubt

2002-01-28 Thread Trent Mick
On Thu, Jan 24, 2002 at 05:46:51PM -0800, nimesh nedungadi wrote: > hi > > In the python documentation, where do i find the list > of all objects of a class... for eg. if i want to > find, what are all the objects in parser class, how do > i go about finding it. As was already suggested you can

Re: ActivePython 2.2 release... when

2002-01-28 Thread Trent Mick
On Wed, Jan 23, 2002 at 12:05:36AM -0500, Kristin Spinn and Damien Morton wrote: > When will activestate release a Python 2.2 package? We hope very soon now. We will make an announcement email on this list when it is ready. I apologize for the long delay. Trent -- Trent Mick [EMAIL PROTECTED]

Re: Active Python 2.1.1 and TCL/Expect?

2002-01-28 Thread Trent Mick
On Sat, Jan 19, 2002 at 10:15:55AM -0700, Craig H . Anderson wrote: > > I would like to use ActivePython 2.1.1 to talk > to a bulletin board system through a directly > connected modem. It would be nice to > use TCL/Expect or something like it to script the > communication. Is a port of TCL/Exp

RE: (no subject)

2002-01-28 Thread Tist Verdonck
I'm very curious about that. I'm having a look every day at their site... *** Tist Verdonck [EMAIL PROTECTED] FOS Bruges presents: 2nd of March MidWinterParty in entrepot @ comma (Bruges) for more information mail me!!! -Original Message- From: [EMAIL

(no subject)

2002-01-28 Thread Kristin Spinn and Damien Morton
When will activestate release a Python 2.2 package? ___ ActivePython mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/activepython

RE: How to compare to time strings?

2002-01-28 Thread Mark McEahern
Short answer: Use mx.DateTime from egenix: http://www.egenix.com/files/python/eGenix-mx-Extensions.html#mxBASE Here's sample code, once you've installed that: $ python >>> s1 = "Mon, 31 Dec 2001 15" >>> import mx.DateTime >>> d1 = mx.DateTime.DateFrom(s1) >>> print d1 2001-12-31 00:00:00.00

URLLIB and PROXY

2002-01-28 Thread A
Hi, Is there anybody who has ever used URLLIB together with PROXY successfully? I tried import os,urllib os.environ["http_proxy"]='http://209.242.141.249:8080' RUR=urllib.urlretrieve('http://www.seznam.cz/index.html','Saved.htm' ) but I do not think it does work. I will get the page but it d