%SystemDrive%

Bryan Olson fakeaddress at nowhere.org
Thu Feb 16 22:26:14 EST 2006


Atanas Banov wrote:
> Bryan Olson wrote:
> 
>>To get it with the \, you might use:
>>
>>     os.path.abspath(os.environ['SYSTEMDRIVE'])
> 
> 
> wrong!
> the result is incorrect if the current directory is different from the
> root.

Oops, sorry. I should know better than to code from what I
think I vaguely remember.


-- 
--Bryan



More information about the Python-list mailing list