[Pythonmac-SIG] Re: Per user dirs on Non-Unix platforms (was Re: [Python-Dev] Where to install non-code files) (fwd)

Peter Funk pythonmac-sig@python.org
Mon, 29 May 2000 08:29:05 +0200 (MEST)


Hi,

[me on python-dev]:
> > Is there a reliable algorithm to find a "per-user" directory on any
> > Win95/98/NT/2000 system?  On MacOS?  

[response from Guido van Rossum]:
> The Mac doesn't have an environment at all.
> 
> > Idea: Wouldn't it be nice if the 'nt' and 'mac' versions of the 'os'
> > module would provide 'os.environ["HOME"]' similar to the posix
> > version?  This would certainly simplify the task of application
> > programmers intending to write portable applications.
> 
> This sounds like a nice idea...

My mac knowledge is still very limited.  But recently I saw on a Mac running
some MacOS Version 9.X a login dialogbox asking for 'username' and 'password'.
Since this was a very new G400 without any third party stuff installed on,
I guess some form of user accounts have been added to recent versions of
MacOS.  Right?

May be someone working with the Mac on daily basis (Jack? Just?) can
shed some light on this?  Is there something like a per user directory
on newer versions of MacOS?  And if so, how to figure it out?

Regards, Peter