User preference file in Win32

Ignacio Vazquez-Abrams ignacio at openservices.net
Fri Aug 24 13:21:24 EDT 2001


On Fri, 24 Aug 2001, Gillou wrote:

> Hi,
>
> Sorry, this is not 100% Pythonic question, but as I'm in process to write a
> Unix/Win32 app.
> I need to know where it's usual to store user preference (not in a registry
> please) files for an app for Win32 applications (98,ME,NT,2000) as in Unix,
> we may use something like "~/.myapp.conf"
>
> Thanks in advance
>
> --Gillou

You have to create a private directory under 'Local Settings' under the users
profile directory.

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>





More information about the Python-list mailing list