PDA

View Full Version : [gnome] gnome-terminal --command="python"



hamzah2096
April 1st, 2009, 12:23 PM
I want to run my python script as executable. But, whenever i make it executable and run it, it only flash then close quickly. So, i think i need to run them as i run python filename.py command in terminal.

The question is how can i run python script with open-with command? I found some code which look like gnome-terminal --command="python" but how can i specify the filename? gnome-terminal --command="python"+./filename?