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

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

2006-12-12 Thread Tim Roberts
Ola Rylow wrote: > > 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.

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 Iron

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 bu

Re: [python-win32] Python for System Administration

2006-12-12 Thread Michael Foord
Tim Golden wrote: > [Michael Foord] > > | Sorry for the intrusion. > > Not often we see you around these parts! > I'm one of those dodgy lurkers. :-) Most of my win32 experience is through IronPython, but there is a wealth of information on this list. > | I'm working on a book proposal about

Re: [python-win32] Python for System Administration

2006-12-12 Thread Tim Golden
[Michael Foord] | Sorry for the intrusion. Not often we see you around these parts! | I'm working on a book proposal about IronPython, with Manning. Excellent news. | I'd like to also include some sections about 'general' system | administration tasks (on windows computers and networks) that

Re: [python-win32] Register COM Server for all users

2006-12-12 Thread Mark Hammond
> 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 > (HKE

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

[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 (HKEY_

[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