"sharon" wrote
I have been trying how to get a any python program to run by clicking on
the icon. I keep reading on the internet make it executable:
chmod a+x try_python.py
You do this in a console window, at a bash prompt.
You also need to add the "shebang" line at the top of the file.
On Thu, Aug 6, 2009 at 4:20 PM, sharon wrote:
> I have been trying how to get a any python program to run by clicking on
> the icon. I keep reading on the internet make it executable:
>
> chmod a+x try_python.py
>
Did you write:
#!/usr/bin/env python
at the first line of the file too?
> Wher
I have been trying how to get a any python program to run by clicking on
the icon. I keep reading on the internet make it executable:
chmod a+x try_python.py
Where do I actually put the above expression so that it will work
everytime. If I then sent this try_python.py to someone else with