Re: [Pythonmac-SIG] run python script on another computer's terminal (LAN)

2009-08-12 Thread pedro
On 2009-08-11 17:55:45 -0400, Ned Deily said: In article , Ned Deily wrote: In article <50697b2c0908111235j42440662ic7cdffa611f96...@mail.gmail.com>, Chris Rebert wrote: On Tue, Aug 11, 2009 at 3:25 PM, pedro wrote: Hi, does anyone know how to send a command that is within a python script

Re: [Pythonmac-SIG] run python script on another computer's terminal (LAN)

2009-08-12 Thread Alexandre Quessy
Hi! Do you want to see the output in the remote computer's display? If so, screen might help you. You could also use the "open" command to open the Terminal supplying it a command. The "xterm" terminal in X11 is nice for that. (or better: rxvt) If you just want to get the resulting output, use eith

Re: [Pythonmac-SIG] run python script on another computer's terminal (LAN)

2009-08-11 Thread Nicholas Riley
On Tue, Aug 11, 2009 at 03:35:21PM -0400, Chris Rebert wrote: > What is "eppc://"? I can't seem to find anything on it. It's remote Apple Events (previously known as "Program Sharing"). You can turn it on in Sharing System Preferences. Unfortunately in OS X, remote Apple Events are very flaky.

Re: [Pythonmac-SIG] run python script on another computer's terminal (LAN)

2009-08-11 Thread Pete O'Connell
Hi, eppc is what you use in applescript when you want to have an app on another computer on you network perform a task. This is what Remote Apple Events is for in the System Preferences>Sharing dialog. Pete On Tue, Aug 11, 2009 at 3:35 PM, Chris Rebert wrote: > On Tue, Aug 11, 2009 at 3:25 PM, pe

Re: [Pythonmac-SIG] run python script on another computer's terminal (LAN)

2009-08-11 Thread Ned Deily
In article , Ned Deily wrote: > In article > <50697b2c0908111235j42440662ic7cdffa611f96...@mail.gmail.com>, > Chris Rebert wrote: > > On Tue, Aug 11, 2009 at 3:25 PM, pedro wrote: > > > Hi, does anyone know how to send a command that is within a python > > > script to another computer's termin

Re: [Pythonmac-SIG] run python script on another computer's terminal (LAN)

2009-08-11 Thread Ned Deily
In article <50697b2c0908111235j42440662ic7cdffa611f96...@mail.gmail.com>, Chris Rebert wrote: > On Tue, Aug 11, 2009 at 3:25 PM, pedro wrote: > > Hi, does anyone know how to send a command that is within a python > > script to another computer's terminal. This is what it looks like in > > Apples

Re: [Pythonmac-SIG] run python script on another computer's terminal (LAN)

2009-08-11 Thread Chris Rebert
On Tue, Aug 11, 2009 at 3:25 PM, pedro wrote: > > Hi, does anyone know how to send a command that is within a python > script to another computer's terminal. This is what it looks like in > Applescript. > > tell application "Terminal" of machine > "eppc://USERNAME:passw...@computer2.local" >      

[Pythonmac-SIG] run python script on another computer's terminal (LAN)

2009-08-11 Thread pedro
Hi, does anyone know how to send a command that is within a python script to another computer's terminal. This is what it looks like in Applescript. tell application "Terminal" of machine "eppc://USERNAME:passw...@computer2.local" do script "ls"