Trees | Indices | Help |
---|
|
Functions for getting system/language/user dependent paths on windows.
All path names returned by the functions of this module are unicode strings.
Version: 0.1
Date: $Date$
Author: Christopher Arndt
Copyright: Python license
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
__module__ = "winpaths"
|
|||
__revision__ = "$Rev$"
|
|||
SHELL_FOLDERS = r'Software\Microsoft\Windows\CurrentVersion\Ex
|
|||
USER_SHELL_FOLDERS = r'Software\Microsoft\Windows\CurrentVersi
|
|||
HKCU = _winreg.HKEY_CURRENT_USER
|
|||
HKLM = _winreg.HKEY_LOCAL_MACHINE
|
|||
_env_rx = None
|
|
Expand environment variables of form %var%. Unknown variables are left unchanged. |
Return registry value specified by key, subkey, and name. Environment variables in values of type REG_EXPAND_SZ are expanded if possible. |
Return path to user home directory, i.e. 'My Files'. |
Return path to shared configuration data for 'prog' from 'vendor'. Additional arguments are appended via os.path.join(). See also: get_user_conf() |
Return path to user configuration data for 'prog' from 'vendor'. Additional arguments are appended via os.path.join(), e.g. use like this: optionsfn = get_userconf("ACME Soft", "Exploder", "Options.xml") |
|
SHELL_FOLDERS
|
USER_SHELL_FOLDERS
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Apr 28 21:40:50 2010 | http://epydoc.sourceforge.net |