os.path.expanduser('~/foo') and MSWindows "My Documents"

dalius.dobravolskas at gmail.com dalius.dobravolskas at gmail.com
Fri Nov 18 09:01:43 CET 2005


python

>>> import os
>>> help(os.path.expanduser)
>>> import platform
>>> platform.system()
'Windows'
>>> platform.release()
'XP'
>>>

:-)

Dalius




More information about the Python-list mailing list