条件语句后使用Python打开Popup

时间:2017-04-11 05:26:42

标签: python pandas

我想使用条件语句ex: if(a>b)

生成弹出窗口,表示a是更大的弹出窗口。 是否可以使用python?

1 个答案:

答案 0 :(得分:0)

似乎我找到了解决方案:

import ctypes  # An included library with Python install.

if(a>b):
    ctypes.windll.user32.MessageBoxW(0, "Your text", "Your title", 1)
相关问题