ask for sudo privilege from python in macos code example
Example: ask for sudo privilege from python in macos
os.system("""osascript -e 'do shell script "<commands go here>" " with administrator privileges'""")
os.system("""osascript -e 'do shell script "<commands go here>" " with administrator privileges'""")