Ubuntu – Open terminal window and execute Python script on startup

12.04python3startup-applications

I have a Python script which I would like to execute at every startup.
I can run it by adding this to the startup applications:

python3 /path/to/script.py

That works, but it doesn't open a terminal window, so I can't see the program's output.
How could I make it open a terminal window and execute the script in there?

Note: I get the window to stay open with input(' ') at the end of the Python script.
Thanks!

Best Answer

This one should work:

gnome-terminal -e "python3 /path/to/script.py"
Related Question