executing python code
steve at holdenweb.com
Tue Nov 9 14:37:32 CET 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.
>>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.
There is that. I was thinking only of the execution scenario.
Holden Web LLC +1 800 494 3119
More information about the Python-list