示例#1
0
def set_prgname(name):
    global prg_name
    prg_name = name
    try:
        SetConsoleTitleA(name)
    except:
        pass
示例#2
0
def set_prgname(name):
    global prg_name
    prg_name = name
    try:
        SetConsoleTitleA(name)
        if PYTHON2:
            import glib     #@UnresolvedImport
            glib.set_prgname(name)
    except:
        pass