As Mark mentioned, there are some things like SendKeys that you get access
to via WSH. Also, I'm pretty sure Win98, NT, ME, and 2000 already have WSH
installed, so it isn't like you need to add anything to your system; open up
a console window and type "cscript" to see what is installed. See my
previous message
http://aspn.activestate.com/ASPN/Mail/msg/activepython:544878 for examples.
Note that these examples were written as Python scripts (.py files) that
make use of COM to access WScript.Shell rather than written as WSH scripts
using Python as the scripting language (.pys files). Mark would have to go
into all the differences, but the short story is that you can probably avoid
doing any .pys files. Just access the WScript functionality you need and
code like you would any other Python program.
ka
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Anders
> Eriksson
> Sent: Thursday, June 07, 2001 3:06 PM
> To: [EMAIL PROTECTED]
> Subject: StandAlone Python vs Python+WSH
>
>
> Hello activepython,
>
> What can I do with Windows Script Host and Python that I can't do
> with just Python and the pyCOM extension?
>
> I just wondering if installing WSH can benefit me in some way ...
>
> --
> Best regards,
> Anders mailto:[EMAIL PROTECTED]
>
> I'm out of my mind at the moment, but feel free to leave a message...
>
>
> _______________________________________________
> ActivePython mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/activepython
>
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython