On Thu, Aug 6, 2009 at 4:20 PM, sharon <dilly...@gmail.com> 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?


> 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 Ubuntu
> would it run on their system?  Sorry if this is too basic but it is an
> assumption that seems to be made and I really am a complete beginner.
>
Don't worry about it. :-)
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to