executing python code
Steve Holden
steve at holdenweb.com
Tue Nov 9 08:37:32 EST 2004
Mike Meyer wrote:
> 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
There is that. I was thinking only of the execution scenario.
regards
Steve
--
http://www.holdenweb.com
http://pydish.holdenweb.com
Holden Web LLC +1 800 494 3119
More information about the Python-list
mailing list