Re: Windows User path

Georg Bauer <gb-BRhJDZTO+/[email protected]> Mon, 12 Apr 2004 12:46:00 +0200
Newsgroups gmane.comp.pythin.pyds.devel
Message-ID <[email protected]>
Hi!

> Is this different from os.path.expanduser?  ntpath.py's expanduser()
> seems to contain the logic that people have been talking about here ...

Ah, didn't remember that function. Sure, os.path.expanduser('~/') 
_should_ give a correct path, but I never tried that with Windows. Can 
somebody with different Windows versions please post what is returned by

os.path.expanduser('~/')

under at least the following systems:

Windows 9x
Windows ME
Windows NT
Windows 2000
Windows XP

(although I hope the last three behave mostly identically)

bye, Georg