I am very new to Python, so new in fact that this is the first thing I have considered doing with it, so be gentle! Anyway:
I would like to write a script that, when executed, would be able to open a terminal window for me to type my password. I want to be able to create a desktop launcher that will point to the correct script (python <script name>)
I need to run the following command:
Of course I can do this:
but no terminal window opens, so I cant type my password and the script does nothing.Code:import os os.system("sudo /home/checkit/fellowsbook")
Is there a way around this?