I'm having trouble figuring out how to run a python file and have the output appear in a new window.
I'm using Linux, and I can have it run perfectly fine from within the terminal, but I need to be able to run it from the file manager.
When I double click the file, all it does is open a text editor.
I've alteredthe permissions to allow the file to be executed, but double clicking still just opens the text editor.
How can I get the file to open a new window and show its' output there?
Edit: typos
#!/usr/bin/env pythonif not exist add it yourself and try again