[python-win32] Problem with multiple calls of a DLL

2006-12-12 Thread Ola Rylow
Hi, I know this is not exactly a new question on this list but I have not been able to solve my problems by reading old threads. I have a dll (MyDLL) from which I want to call some methods. I've tried using Ctypes: print windll.MyDLL.FirstMethod() print windll.MyDLL.SecondMethod() If I

[python-win32] Register COM Server for all users

2006-12-12 Thread Neil Benn
Hello, I'm doing some work on a simple Python COM server to wrap a SOAP client on a machine. It is going well and I have it working however when I attempt to register the python COM servers they are only registered in the current user namespace and not the all users namespace

[python-win32] Python for System Administration

2006-12-12 Thread Michael Foord
Hello all, Sorry for the intrusion. I'm working on a book proposal about IronPython, with Manning. One of the chapters will be about Windows System Administration with Python, and will probably include some sections about Powershell. It will show how to use the Powershell libraries from

Re: [python-win32] Python for System Administration

2006-12-12 Thread Simon Dahlbacka
Unsurprisingly perhaps, a lot of my recommendations involve WMI. Now I've no idea if WMI is still a concept under .NET or how it's invoked if it is. At present, you use the pywin32 GetObject method to invoke it. Is that still possible under IronPython? Or is there some -- possibly

Re: [python-win32] Python for System Administration

2006-12-12 Thread Michael Foord
Simon Dahlbacka wrote: Unsurprisingly perhaps, a lot of my recommendations involve WMI. Now I've no idea if WMI is still a concept under .NET or how it's invoked if it is. At present, you use the pywin32 GetObject method to invoke it. Is that still possible under IronPython? Or is

[python-win32] Python as scripting glue, WAS Python for sysadmin

2006-12-12 Thread Bokverket
Tim and Michael, I am a Python neophyte and must admit that I am not familiar with all those Python library names that swish around this list. But that was not my point. The tasks on Michael's list that he has done/helped out with lately are to a large extent useful jobs that an ordinary user