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

Tony Nelson *firstname*nlsnews at georgea*lastname*.com
Fri Nov 18 12:13:26 EST 2005


In article <1132300903.052746.310240 at g44g2000cwa.googlegroups.com>,
 dalius.dobravolskas at gmail.com wrote:

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

platform looks good.
________________________________________________________________________
TonyN.:'                        *firstname*nlsnews at georgea*lastname*.com
      '                                  <http://www.georgeanelson.com/>



More information about the Python-list mailing list