Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Windows System Administration: State of the Art on Python?

Reply
Thread Tools

Windows System Administration: State of the Art on Python?

 
 
Krishna Kirti Das
Guest
Posts: n/a
 
      02-26-2008
I am a long-time user of Perl who comes to you in peace and is
evaluating different scripting languages for use as a scripting
platform for system administrators on the Windows platform. Perl
already has many modules that allow sys admins and devolpers to do
lots of things with the Windows OS, and I'm wondering what the state
of the art is with Python and being able to control and administer a
windows environment. In this regard, how does Python stand up against
Perl?
 
Reply With Quote
 
 
 
 
jay graves
Guest
Posts: n/a
 
      02-26-2008
On Feb 26, 3:23 pm, Krishna Kirti Das <(E-Mail Removed)> wrote:
> I am a long-time user of Perl who comes to you in peace and is
> evaluating different scripting languages for use as a scripting
> platform for system administrators on the Windows platform. Perl
> already has many modules that allow sys admins and devolpers to do
> lots of things with the Windows OS, and I'm wondering what the state
> of the art is with Python and being able to control and administer a
> windows environment. In this regard, how does Python stand up against
> Perl?


I can't comment on how it stacks up against Perl but I've pointed to
Tim Golden's collection several times. Lots of good stuff there.

http://tgolden.sc.sabren.com/python/index.html

....
Jay
 
Reply With Quote
 
 
 
 
Mike Driscoll
Guest
Posts: n/a
 
      02-26-2008
On Feb 26, 3:23 pm, Krishna Kirti Das <(E-Mail Removed)> wrote:
> I am a long-time user of Perl who comes to you in peace and is
> evaluating different scripting languages for use as a scripting
> platform for system administrators on the Windows platform. Perl
> already has many modules that allow sys admins and devolpers to do
> lots of things with the Windows OS, and I'm wondering what the state
> of the art is with Python and being able to control and administer a
> windows environment. In this regard, how does Python stand up against
> Perl?


There's the PyWin32 module if you want to do low-level stuff:

http://aspn.activestate.com/ASPN/doc...2/PyWin32.html
http://aspn.activestate.com/ASPN/doc...2_modules.html

Or you can "roll-your-own" (sort of) with the ctypes module:

http://docs.python.org/lib/module-ctypes.html

The PyWin32 basically exposes most (if not all) of the Windows API. I
think ctypes is usually used for COM black magic. There's also a
slightly higher level wrapper for WMI that you can use:

http://tgolden.sc.sabren.com/python/wmi.html
http://tgolden.sc.sabren.com/python/wmi_cookbook.html

Tell us what you want to do and we'll tell you if (and maybe how) you
can do it with Python.

Mike
 
Reply With Quote
 
Martin v. L÷wis
Guest
Posts: n/a
 
      02-26-2008
> I am a long-time user of Perl who comes to you in peace and is
> evaluating different scripting languages for use as a scripting
> platform for system administrators on the Windows platform. Perl
> already has many modules that allow sys admins and devolpers to do
> lots of things with the Windows OS, and I'm wondering what the state
> of the art is with Python and being able to control and administer a
> windows environment. In this regard, how does Python stand up against
> Perl?


As everybody else, I cannot compare it to Perl, because I don't know
Perl good enough (or at all, for that matter). I found Python does
*very* well in Windows system administration, in many cases, better
than Visual Basic (IMO, and for the things I wanted to do). I've
mostly used the COM integration, as the things I wanted to manage
had COM (automation) interfaces.

Regards,
Martin
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows System Administration: State of the Art Krishna Kirti Das Ruby 2 02-27-2008 08:00 AM
Call for Digital Art and Photograhpy from L.A. Center for Digital Art rexbruce@gmail.com Digital Photography 0 02-22-2008 06:02 PM
compuer nail printer nail art painting Nail Art Printer Computer Salon Digital Paint MUST HAVE arcade Computer Information 1 11-30-2006 04:11 PM
compuer nail printer nail art painting Nail Art Printer Computer Salon Digital Paint MUST HAVE arcade Computer Information 0 11-30-2006 02:40 PM
boutique and fine art royalty free images - free fine art image offer Andrew Mowat Digital Photography 0 09-14-2004 05:35 AM



Advertisments