Hello again!
I have a new question.
I have run a script and wants to run it again with a "keypress" input from the user, how do i code that. Like this:
import subprocess
drive=input(" If you want to start the script again , press 1: ")
if drive == 1:
subprocess.call(["programname"])
the above can be used to start a external program from inside a python script but if i only wants to run the same script again? I use "idle" when i code python, so i guess the script must open up again inside idle?