How to call Apple authorization API from PyQt4

I am currently working on a PyQt4 application that requires administrator privileges to access some files. I would like him to follow Apple's recommendations and open the Authenticate dialog box, prompting the user to enter his password to perform administrative tasks.

I have already reviewed the MacPython authorization package , but it is a bit outdated and can only be used to run external processes, and I already use a subprocess for this.

Is there any other alternative?

+4
source share

All Articles