Re: Stupid question: Making scripts python-scripts

Discussion in 'Python' started by Jp Calderone, Jul 21, 2005.

  1. Jp Calderone

    Jp Calderone Guest

    On Thu, 21 Jul 2005 16:34:30 +0200, Jan Danielsson <> 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
     
    Jp Calderone, Jul 21, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    5
    Views:
    1,881
    Andrew Thompson
    Jan 12, 2005
  2. Jan Danielsson
    Replies:
    8
    Views:
    634
    Mike Meyer
    Jul 22, 2005
  3. Brandon McCombs
    Replies:
    4
    Views:
    519
    Richard Wheeldon
    Aug 28, 2006
  4. davidj411
    Replies:
    0
    Views:
    530
    davidj411
    Jun 27, 2008
  5. rincewind

    stupid, STUPID question!

    rincewind, Apr 19, 2009, in forum: HTML
    Replies:
    25
    Views:
    1,032
Loading...

Share This Page