Windows Question

2004-09-09
2004-09-14
  • Dear Windows Users, Esquire,

       I have a question.  There is a feature request for moving the pref's directory to the 'application data' subdirectory of the user's homedirectory.

    Ahem.

    This would mean that users upgrading drpython would need to move their directories to keep their stuff.

    What to do?

    Suggests?

    Here are some possibilities:

    1.  Ignore this request.
    2.  Do it, and users will have to start from scratch,
    or manually move stuff.
    3.  Simply make the drpython directory uniform
    across all platforms.

    I am leaning towards 1, as this will cause trouble for current users, and is a superficial change.

    What do you think?

     
    • Hm, I would also leave it, as it is.

      From what I saw, it would require to install
      win32 extension only for the case to
      get the appdata directory:

      > from win32com.shell import shell, shellcon
      > print shell.SHGetPathFromIDList (
      >   shell.SHGetSpecialFolderLocation (0, shellcon.CSIDL_APPDATA)
      > )

       
      • Jan Claeys
        Jan Claeys
        2004-09-14

        There is an environment variable APPDATA too (at least since Windows 2000).

         
    • Ah, yes, this I have overlooked; definitly easier
      to query.