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
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
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