I want to make a menu that for my program that start automatically wen booting the pc. The issue is i dont whant to hardcode the values wish are needed so my thoughts process was putting the value in a text file so it reads it att start… but i also want to be able to input my own values wen i restart it myself.
Like the boot menu on linux it gives you 10-30 sekunds to move in the menu otherwise it uses default settings
^ is that like:
x=30
while true:
Time.sleep(1)
x-=1
Print(“sek left: “ + x)
If prest_key() == true:
Change_values()
Elif x == 0:
Load_file()
Else:
Continue while loop
Or is there a better way to do this?