I finished work on a new module today -- it is called "sudo.py" and does pretty much what you would expect.
If executed as a main program, on Linux or MacOS, it just runs "sudo" which is not very exciting. On Windows, it requests elevation and runs a command as an Administrator, which is a capability I have been wanting for years. Or you can call it at the beginning of a Python program like this: >>> import sudo >>> sudo.run_elevated() # run this script as an Administrator which creates a new window (on Windows) and runs the script (from the top) with elevated privileges. Of course it requires PyWin32 to perform all this magic on Windows. I want to publish it -- but in what form? If you care, please respond to this poll. <https://www.surveymonkey.com/r/23S85HG> -- Vernon Cole
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32