Package Gnumed :: Package pycommon :: Module gmTools :: Class gmPaths
[frames] | no frames]

Class gmPaths

source code

  object --+    
           |    
gmBorg.cBorg --+
               |
              gmPaths

Instance Methods
 
__init__(self, app_name=None, wx=None)
Setup pathes.
source code
 
init_paths(self, app_name=None, wx=None) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Static Methods

Inherited from gmBorg.cBorg: __new__

Properties
  user_config_dir
  system_config_dir
  system_app_data_dir
  home_dir

Inherited from object: __class__

Method Details

__init__(self, app_name=None, wx=None)
(Constructor)

source code 

Setup pathes.

<app_name> will default to (name of the script - .py)

Overrides: object.__init__

Property Details

user_config_dir

Get Method:
_get_user_config_dir(self)
Set Method:
_set_user_config_dir(self, path)

system_config_dir

Get Method:
_get_system_config_dir(self)
Set Method:
_set_system_config_dir(self, path)

system_app_data_dir

Get Method:
_get_system_app_data_dir(self)
Set Method:
_set_system_app_data_dir(self, path)

home_dir

Get Method:
_get_home_dir(self)
Set Method:
_set_home_dir(self, path)