def get_cpu_style():
    global _CPU_STYLE
    if _CPU_STYLE is None:
        vbs_file = 'get_cpu_style.vbs'
        vbs_path = path.join(LOCAL_DIR, vbs_file)
        popen = sp.Popen('cscript /nologo %s'%vbs_path, stdout=sp.PIPE, shell=True)
        popen.wait()
        result = popen.stdout.read()
        cpu_style = '%s'%result.strip()

        try:
            cpu_style = cpu_style.decode('gb18030')
        except __HOLE__:
            cpu_style = cpu_style.decode('utf8')

        _CPU_STYLE = cpu_style.encode('utf8')
            
    return _CPU_STYLE
dataset/ETHPy150Open everydo/ztq/ztq_worker/ztq_worker/system_info/win.py/get_cpu_style