python in a message box --MessageBox

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

Guess you like

Origin www.cnblogs.com/pu369/p/12651938.html