Get Path of current Script

eryksun () eryksun at gmail.com
Mon Mar 14 18:22:14 EDT 2011


On Monday, March 14, 2011 5:17:49 PM UTC-4, Grant Edwards wrote:
>
> Indeed that is very common, and there's been a "standard" way to do
> that since before dirt.
> 
> The standard on Unix is to look in the following places in (this
> order), and use the first one you find:

On Windows it's typical to use the system registry HKLM\Sofwtare and/or HKCU\Software, or a system-wide config files in %ALLUSERSPROFILE% (probably read-only for unprivileged users) or per-user config in %APPDATA% or %LOCALAPPDATA%. Typically all settings and data will stored in a hierarchy relative to the latter, such as Publisher\App\{config}.



More information about the Python-list mailing list