Windows Question

  • 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.


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

    What to do?


    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 import shell, shellcon
      > print shell.SHGetPathFromIDList (
      >   shell.SHGetSpecialFolderLocation (0, shellcon.CSIDL_APPDATA)
      > )

      • Jan Claeys
        Jan Claeys

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

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