I'm just starting out writing Python scripts (in PSP), and need to
find the location of Windows special folders such as 'My Documents'
and 'Desktop' so that I can save files in the right place.  Is there
any method I can use in Python to get these?

If I were doing this in VBScript it'd be:

  Dim    WSHShell
  Set    WSHShell = WScript.CreateObject("WScript.Shell")
  msgbox WSHShell.SpecialFolders("Desktop")

TIA,

Colin
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to