[Tutor] A basic question

Lucas Prado Melo lukepadawan at gmail.com
Sun Sep 6 21:48:35 CEST 2009


On Thu, Aug 6, 2009 at 4:20 PM, sharon <dillyg23 at 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. :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090906/d2037fed/attachment.htm>


More information about the Tutor mailing list