Python EXE to request sudo access
问题 I am working on a script to monitor my outgoing website connections. As an example, if I connect to reddit, I'd like the IP address of Reddit to be logged. I have this functionality down just fine, but in the future, I'd like someone else to be able to run my Python code as an EXE file. However, my script currently requires you to run as Sudo since it is sniffing the IP addresses. I'd like non-technical users to be able to use my app by simply clicking an EXE or entering their password if