import win32gui # pip install pywin32
import win32con
def show_message_box():
# Handle to the parent window (0 indicates no parent, so the message box will be standalone)
hwnd = 0
# The text to be displayed in the message box
message_text = "Vist: image.mefiz.com"
# The title of the message box
title = "image.mefiz.com"
# The style of the message box (in this case, it will have an OK button)
style = win32con.MB_OK | win32con.MB_ICONINFORMATION
# Display the message box
result = win32gui.MessageBox(hwnd, message_text, title, style)
# Check the result to see which button the user clicked
if result == win32con.IDOK:
print("thanks for visit image.mefiz.com")
else:
print("User closed the message box.")
# Call the function to show the message box
show_message_box()
image.mefiz.com