Stupid question: Making scripts python-scripts
Jp Calderone
exarkun at divmod.com
Thu Jul 21 10:38:55 EDT 2005
On Thu, 21 Jul 2005 16:34:30 +0200, Jan Danielsson <jan.danielsson at gmail.com> wrote:
>Hello all,
>
> How do I make a python script actually a _python_ in unix:ish
>environments?
>
> [snip]
Put "#!/usr/bin/python". Install the program using distutils: if necessary, distutils will rewrite the #! line to fit the configuration of the system the program is being installed on.
Jp
More information about the Python-list
mailing list