I use sudo a lot and I am constantly having to restart my terminal (development of programs that froze usually) and it's a pain in the butt to constantly put in the sudo command and then my password. Is there a way I could through Python (or a script file) get an already sudo terminal?
I wasn't sure if I should post it on Stack Overflow (because of the coding side) or here (because of sudo/terminal stuff).