Message 53339 - Python tracker (original) (raw)

Logged In: YES user_id=116727

Thanks for the quick answer.

I agree that it's not a "bug". Let's make it a feature request then.

However, the need is real, not for people writing their own batch file, but rather for people writing and distributing cross platform Python applications. On unix, we have the #! /usr/bin/env python trick, but there's nothing similar on windows. Having the Python directory on the PATH could help.

I've tried to do it for an application I maintain, and I agree that it's a pain (I too got bitten by the space in "Program Files"), but I think it's more a Python's job to ensure that the executable is in the PATH.

Cheers,

Alexandre