Re: [Tutor] conventions for establishing and saving default valuesfor variables

2010-06-17 Thread Hugo Arts
On Thu, Jun 17, 2010 at 1:19 AM, Steven D'Aprano wrote: > On Thu, 17 Jun 2010 03:25:03 am Alan Gauld wrote: >> "R. Alan Monroe" wrote >> >> >> directory, I suppose. Under windows, probably the registry. >> >> There's the _winreg and configparser modules. >> > >> > Consider using the %USERPROFILE%

Re: [Tutor] conventions for establishing and saving default valuesfor variables

2010-06-16 Thread Steven D'Aprano
On Thu, 17 Jun 2010 03:25:03 am Alan Gauld wrote: > "R. Alan Monroe" wrote > > >> directory, I suppose. Under windows, probably the registry. > >> There's the _winreg and configparser modules. > > > > Consider using the %USERPROFILE% environment variable rather than > > the > > registry. > > How w

Re: [Tutor] conventions for establishing and saving default valuesfor variables

2010-06-16 Thread Alan Gauld
"R. Alan Monroe" wrote directory, I suppose. Under windows, probably the registry. There's the _winreg and configparser modules. Consider using the %USERPROFILE% environment variable rather than the registry. How would that work? That is just a single variable that points to the users Se