Results 1 to 1 of 1
My first post here and first time sharing a script. Not sure if there's already one out there somewhere but I made a little python launcher script. It checks your ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-31-2008 #1
- Join Date
- Jul 2008
Not sure if there's already one out there somewhere but I made a little python launcher script.
It checks your script to see if you're import GTK or pyGTK and if you are it assumes the app has a GUI and opens it in python, if you aren't importing either of them it loads the python script in terminal.
Please let me know if there are any problems
Edit: Can somebody move this thread please? I was originally going to ask a question(figured it out on my own) I left the page up for a while and then posted forgetting to change the forum.
And here's how to use it:
1) Edit the properties of a python script
2) Go to the "open with" tab
3) click Add and enter this in the custom command box:Code: