Code:
Win32API Import, win32con win32api.MessageBox ( 0 , " this is a test message " , " Message Box Title " , win32con.MB_OK)
Pywin32 need to install the module,
pip install pywin32
With this module python can use the windows api,
Reference: https: //blog.csdn.net/igolang/article/details/7736781