Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #82908 > unrolled thread

Re: is pathlib Path.resolve working as intended?

Started byrandom832@fastmail.us
First post2014-12-24 21:38 -0500
Last post2014-12-24 21:38 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: is pathlib Path.resolve working as intended? random832@fastmail.us - 2014-12-24 21:38 -0500

#82908 — Re: is pathlib Path.resolve working as intended?

Fromrandom832@fastmail.us
Date2014-12-24 21:38 -0500
SubjectRe: is pathlib Path.resolve working as intended?
Message-ID<mailman.17195.1419475100.18130.python-list@python.org>
On Wed, Dec 24, 2014, at 09:09, Chris Cioffi wrote:
> PS:  For those who are curious, the 2 issues that seemed to hold things
> up the most are non-Unix systems (Windows) and how to handle when there
> is no home directory.  Posix only says that the results are undefined.  

What did they end up doing on windows? Many programs use USERPROFILE
variable, but supposedly the "correct" variables to use are
HOMEDRIVE/HOMEPATH or HOMESHARE. (they're the same directory by default,
but it's supposedly possible for them to be different if roaming
profiles are set up a certain way).

It might be worthwhile to have (both windows and modern unix systems in
the form of the freedesktop.org specs have APIs to get these) a way to
access the user's Desktop, Documents, etc folders directly.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web