What's the perfect (OS independent) way of storing filepaths ?

Ross Ridge rridge at csclub.uwaterloo.ca
Mon Oct 20 08:04:48 EDT 2008


Stef Mientki wrote:
>Duncan, in windows it's begin to become less common to store settings in
>Docs&Settings,
>because these directories are destroyed by roaming profiles (a big
>reason why I can't run Picassa ;-(
>It's more common to follow the portable apps approach, store them in the
>application directory.

Steven D'Aprano  <steve at REMOVE-THIS-cybersource.com.au> wrote:
>What do you do when users don't have write permission for the application 
>directory?

Use the application data directory (if you want it to roam), or the
local application data directory (if not).  However, the normal place
to store settings on Windows is in the registry.

					Ross Ridge

-- 
 l/  //	  Ross Ridge -- The Great HTMU
[oo][oo]  rridge at csclub.uwaterloo.ca
-()-/()/  http://www.csclub.uwaterloo.ca/~rridge/ 
 db  //	  



More information about the Python-list mailing list