Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python messagebox

import ctypes # native module

style = 1
ctypes.windll.user32.MessageBoxW(0, 'Your text', 'Your title', style)

## Styles:
# 0 : OK
# 1 : OK | Cancel
# 2 : Abort | Retry | Ignore
# 3 : Yes | No | Cancel
# 4 : Yes | No
# 5 : Retry | Cancel 
# 6 : Cancel | Try Again | Continue
## To also change icon, add these values to previous number
# 16 : Stop-sign icon
# 32 : Question-mark icon
# 48 : Exclamation-point icon
# 64 : Information-sign icon consisting of an 'i' in a circle
Comment

how to make a alert box in python

import pyautogui
print(pyautogui.alert("Hi grepper user"))
Comment

PREVIOUS NEXT
Code Example
Python :: regex to find ip address python 
Python :: taking string input from user in python 
Python :: find geomean of a df 
Python :: qspinbox disable wheel python 
Python :: python zip listas diferente tamaño 
Python :: gluten 
Python :: Simulate webcam and microphone selenium 
Python :: Liczby zespolone Python 
Python :: python sqlite3 input multiple sql statement 
Python :: python concat list to sql query string 
Python :: check if directory exists python 
Python :: pandas rename columns by position 
Python :: python scatter plot 
Python :: Join a list of items with different types as string in Python 
Python :: how to flip a list backwards in python 
Python :: how to get more than one word in a list in python 
Python :: python specify typeError output 
Python :: python spamming bot 
Python :: how to download python freegames 
Python :: python selenium wait for page to load 
Python :: open an exe file using python 
Python :: render_template not showing images 
Python :: Source Code: Matrix Multiplication Using Nested List Comprehension 
Python :: find python path windows 
Python :: overlapping date matplotlib 
Python :: mongodb connection using python 
Python :: binning dat adataframe 
Python :: python pandas convert nan to 0 
Python :: import csv file in python 
Python :: print decimal formatting in python 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =