[Tutor] run python script on another computer's terminal (LAN)

pedro pedrooconnell at gmail.com
Tue Aug 11 07:16:39 CEST 2009


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:PASSWORD@COMPUTER2.local"
				do script "ls"
			end tell



I basically want os.system('ls') to be run on another computer in my LAN.

Merci
Pete




More information about the Tutor mailing list