code: def get_root_folder():
      
      locations = {
       'linux':{'hme':'/home/duncan/', 'core_folder':'/home/duncan/dev/src/python/AIKIF'},
       'win32':{'hme':'T:\\user\\',    'core_folder':'T:\\user\\dev\\src\\python\\AIKIF'},
       'cygwin':{'hme':os.getcwd() + os.sep,    'core_folder':os.getcwd()},
       'darwin':{'hme':os.getcwd() + os.sep,    'core_folder':os.getcwd()}
      }
      hme = locations[sys.platform]['hme']
      core_folder = locations[sys.platform]['core_folder']
  
      if not os.path.exists(core_folder):
          hme = os.getcwd()        
          core_folder = os.getcwd()
          print('config.py : running on CI build (or you need to modify the paths in config.py)')
      return hme, core_folder
docs: returns the home folder and program root depending on OS