Not much to it. Just follow the SimpleXMLRPCServer example from Python
docs and register your shutdown function. Call it using xmlrpclib
remotely.
Actually, I prefer the telnet method below. Simple and straight forward.
--
http://mail.python.org/mailman/listinfo/python-list
Through Wine maybe ?
Philippe
Dennis Lee Bieber wrote:
> On 4 May 2006 09:57:15 -0700, [EMAIL PROTECTED] declaimed the
> following in comp.lang.python:
>
>> I am using python on a linux terminal.
>>
>> I want to shutdown a remote windows box. I found a script which does
>> something like this
Can we have some program in Linux which shuts down the windows computer
remotely.
Every help is appreciated.
Max Erickson wrote:
> [EMAIL PROTECTED] wrote in
> news:[EMAIL PROTECTED]:
>
> > I went to this webpage
> >
> > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/360649
> >
> > Isn'
[EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
> 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
gen
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.
Every help is appreciate,
Dennis Lee Bieber wrote:
> On 4 May 2006 09:57:15 -0700, [EMAIL PROTECTED] declaimed the
> following in comp.
Hi Ravi,
Do you have any idea how to perform such triigers ?
Every help is appreciated.
Ravi Teja wrote:
> No! That's not the way things work. Such code needs to run locally (in
> this case, Windows). You can run this program as a daemon on Windows
> with some nice simple remote interface (Eg: x
No! That's not the way things work. Such code needs to run locally (in
this case, Windows). You can run this program as a daemon on Windows
with some nice simple remote interface (Eg: xmlrpc) and send a message
to trigger the shutdown.
--
http://mail.python.org/mailman/listinfo/python-list
I am using python on a linux terminal.
I want to shutdown a remote windows box. I found a script which does
something like this. My question is can we use windows libraries in
linux as follows
import win32api
import win32con
import win32netcon
import win32security
import win32wnet
def shutd