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

pedro pedrooconnell at gmail.com
Tue Aug 11 21:25:15 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 something like os.system('ls') to be run on another 
computer in my LAN.

Thanks
Pete




More information about the Pythonmac-SIG mailing list