#coding:utf-8import ctypesMB_OK = 0x0MB_OKCXL = 0x01MB_YESNOCXL = 0x03MB_YESNO = 0x04MB_HELP = 0x4000ICON_EXLAIM=0x30ICON_INFO = 0x40ICON_STOP = 0x10result = ctypes.windll.user32.MessageBoxA(0, "中文".decode('utf-8').encode('gbk'), "Your title", MB_HELP | MB_YESNO | ICON_STOP)