[Pythonmac-SIG] Re: Determining the name of the "root" drive

Josh English english@spiritone.com
13 Sep 2002 09:40:07 -0700


Finally, one that even I can answer ; )

try

>>> os.getcwd().split(':')[0]
'Marvin'

Marvin is the name of my hard drive. 

Josh English
english@spiritone.com