[Pythonmac-SIG] [ann] ASDictionary, ASTranslate updates

Adam Morris amorris at mistermorris.com
Thu Dec 23 04:08:26 CET 2010


> print sa.do_shell_script("ls -l", administrator_privileges=True)

Thanks Charles, I had forgotten that do shell script is a part of the
Standard Addition osax. Now I know how to run a script that needs the
user's permission without having to use some GUI scripts to get the
admin/password dialog.


More information about the Pythonmac-SIG mailing list