executing python code

Mike Meyer mwm at mired.org
Mon Nov 8 11:52:23 EST 2004


Steve Holden <steve at holdenweb.com> writes:

> Mike Meyer wrote:
>> I find that symlinking ~/src/python/mycode.py to ~/bin/mycode means I
>> get to invoke it without having to specify the extension, and don't
>> have to reinstall the file if I change it.
>>      <mike
>
> That works too. Of course under Linux/Unix there's no particular
> reason to use the .py extension in the first place.

Some editors use the extension to determine the language mode to run
in. And distutils uses .py extensions.

    <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list