[Tutor] mac os x executable

pedro pedrooconnell at gmail.com
Mon Jul 13 06:33:25 CEST 2009


Hi, the way I do this on mac os x is to use applescript like so.


--start of applescript
tell application "Terminal"
	do script "python /Volumes/Seagate750/drive_01/myPythonScript.py"
end tell
--end of applescript



Where you simply point the terminal to the python script using 
applescript. If you save the applescript as an app, you double click it 
and it runs the python script.

Pete

PS this is my first post on this board by the way, so hi everyone.







More information about the Tutor mailing list