Cross-platform way to check admin rights in a Python script under Windows?
Asked 2009-06-22T10:20:32.357
30
Is there any cross-platform way to check that my Python script is executed with admin rights? Unfortunately, os.getuid() is UNIX-only and is not available under Windows.