Re: [python-win32] Delete IIS website via wmi

2007-11-16 Thread Sten Spans
On Thu, 15 Nov 2007, Sten Spans wrote: > > I'm rewriting some iis management scripts in python, > using the python wmi bindings from > http://tgolden.sc.sabren.com/python/wmi.html > > Creating / Ennumerating sites works just fine. > But I can't seem to figure out

[python-win32] Delete IIS website via wmi

2007-11-15 Thread Sten Spans
packages\wmi.py", line 472, in __getattr__ return getattr (self.ole_object, attribute) File "C:\Python25\Lib\site-packages\win32com\client\dynamic.py", line 496, in __getattr__ raise AttributeError, "%s.%s" % (self._username_, attr) AttributeError: .Delete Any