text: # encoding: UTF-8
  
  """
  通过VT_setting.json加载全局配置
  """
  
  import os
  import traceback
  import json
  from .vtFunction import getJsonPath
  
  
  settingFileName = "VT_setting.json"
  settingFilePath = getJsonPath(settingFileName, __file__)
  
  globalSetting = {}      # 全局配置字典
  
  try:
      f = open(settingFilePath,'r', encoding="utf-8")
      globalSetting = json.load(f)
  except:
      traceback.print_exc()
  
  