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

RE: Vector Example - help...!!

2002-03-13 Thread Anesh Madapoosi
def test(): ... should have the same indentation as if __name__==__main__: and it should work. So try this --- class Vector: def __init__(self, start=[]): self.data = start def __add__(self, value): res = [] for x

How to set cookies in python asp

2002-03-20 Thread Anesh Madapoosi
Hi,     I have been using python as an asp scripting language, but don’t know how to set cookies.    I tried   import Cookie C = Cookie.SmartCookie() C["test"]="test1" C[“test”][“expires”] = “1 May 2002” Response.Cookies=C     I get an error AttributeError: Response.Cookie