On Dec 5, 1:52 am, Lie Ryan <lie.1...@gmail.com> wrote: > on linux/unix, you need to add the proper #! line to the top of any > executable scripts and of course set the executable bit permission > (chmod +x scriptname). In linux/unix there is no need to have the .py > extension for a file to be recognized as python script (i.e. just remove > it).
The #! line will even get replaced by the interpreter used during installation, so you can safely write "#!/usr/bin/env python" in your development copy and get "#!/usr/bin/python" when users install it. -- http://mail.python.org/mailman/listinfo/python-list