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

Piotr Dobrogost p at google-groups-2014.dobrogost.net
Thu Feb 20 10:55:12 EST 2014


On Thursday, February 20, 2014 4:42:54 PM UTC+1, Ned Batchelder wrote:
> 
> As roundabout and advanced as that code is, it doesn't give the right 
> answer for me.  It returns None.

Indeed. I tried on Linux and got None both inside and outside virtualenv :(

Regards,
Piotr



More information about the Python-list mailing list