New user questions ... be gentle

Steve Marx sm004i at mail.rochester.edu
Sun Aug 20 13:00:51 EDT 2000


In the Windows world it's typically done by "associating" the .tcl extension
to a specific application (your Python interpreter).  This is similar to the
way that HTML files and text files can be double-clicked and load in the
right application.  Most installations should make this assocation for
you... don't recall how to do it by hand, but it's not hard.

        Steve

Grant Edwards <nobody at nowhere.nohow> wrote in message
news:7PTn5.6771$6E.1644550 at ptah.visi.com...
> On 20 Aug 2000 09:41:28 -0400, François Pinard <pinard at iro.umontreal.ca>
wrote:
>
> >> I may be wrong on this but some scripts look as thought they are
> >> executable like .exe files.  How is this done?
> >
> >From your question, I presume you work on Windows, while my culture is
> >more on the Unix side.  I'm sure this is quite doable on both platforms.
> >On Linux, you just mark your script as executable (with `chmod +x FILE')
> >and ensure it starts with the line `#/usr/bin/env python'.
>
> that should be #!/usr/bin/...
>
> --
> Grant Edwards                   grante             Yow!  Let me do my
TRIBUTE
>                                   at               to FISHNET STOCKINGS...
>                                visi.com





More information about the Python-list mailing list