On 21 February 2014 08:55, Piotr Dobrogost
<[email protected]> wrote:
> Hi!
>
> I posted 
> (https://groups.google.com/forum/#!topic/comp.lang.python/s3vLkVy2xJk)
> to comp.lang.python yesterday the following question:
>
> -------
> Is there cross-platform way to get default directory for binary files
> (console scripts for instance) the same way one can use sys.executable
> to get path to the Python's interpreter in cross-platform way?

sysconfig.get_path("scripts") should work. If you're on a Python too
old to have sysconfig then sorry, I've no idea (other than "you should
upgrade" :-))

Paul
_______________________________________________
Distutils-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to