Hi there.
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:
sudo /home/checkit/fellowsbook
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?
Many thanks
Max
Bookmarks