python - How to tell if rosetta is installed? --MacPython -


So I'm working on a dragon script which will rely on the setting of the rosette. Is OS to see if there is any Rosetta?

Thank you!

Rosette is not installed but if I miss it correctly, then this kind of use screen If you type translation (rosetta command line). If so, then something like that should be done. If os.system ("/ usr / libexec / oah / translate> / dev / null 2 ​​& gt; and 1"): print "do not set" other: print "Installed"

Comments