Cross-platform way to get default directory for binary files like console scripts?

Oscar Benjamin oscar.j.benjamin at gmail.com
Thu Feb 20 16:44:53 CET 2014


On 20 February 2014 15:34, Piotr Dobrogost
<p at google-groups-2014.dobrogost.net> wrote:
> On Thursday, February 20, 2014 4:22:53 PM UTC+1, Oscar Benjamin wrote:
>
>> You can find the default location in this roundabout way:
>
> I'm wondering if there's some API to get this info as what you showed is really roundabout way to achieve the goal...

There may be something that I don't know of. Distutils is generally
pretty clunky though if you're not trying to do one of the exact
things it was designed to do.


Oscar



More information about the Python-list mailing list