What is a shortcut to the Default home directory in Windows

Mike Driscoll kyosohma at gmail.com
Fri Jan 18 17:20:13 EST 2008


On Jan 18, 2:19 pm, Daniel Folkes <danfol... at gmail.com> wrote:
> I am trying to write a file to the users file system.
>
> I need it to be in there home directory in WINDOWS.  I know there is a
> "shortcut" to home in Linux("~"), but is there an equivalent to that
> in windows.  Or to get to their "Documents and Settings" directory?
>
> Thanks in advance for the help.
>
> -Daniel Folkes

I personally use Tim Golden's excellent win32 API wrapper, the
winshell script. You can find it here:

http://timgolden.me.uk/python/winshell.html

Mike



More information about the Python-list mailing list