cross platform libraries
Max Erickson
maxerickson at gmail.com
Fri May 5 10:43:30 EDT 2006
diffuser78 at gmail.com wrote in
news:1146836899.678804.168000 at g10g2000cwb.googlegroups.com:
> I went to this webpage
>
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/360649
>
> Isn't it supposed to run on the network and close the connected
> machine.
That code uses the windows libraries on the machine it is run on to
generate a request to the networked machine to shutdown. The code
executes locally and sends the request over the network.
> Every help is appreciate,
>
If you have some way of remotely running programs on the windows
machine(ssh, telnet, etc.), you might try pstools:
http://www.sysinternals.com/Utilities/PsTools.html
specifically, psshutdown.
max
More information about the Python-list
mailing list