I have my own python script that manages the IP address on my computer. Mainly it executes the netsh command in the command line (windows 10) which for you must have administrator rights.
It is my own computer, I am the administrator and when running the script I am already logged in with my user (Adrian) which is of type administrator.
I can`t use the right click and "run as administrator" solution because I am executing my netsh command from my python script.
Anybody knows how to get "run as administrator" with a command from CMD ?
Thanks