Standard Yes / No Windows Dialog box creation

Ravi Teja webraviteja at gmail.com
Sat Jun 17 19:19:59 EDT 2006


flaus.a at wanadoo.fr wrote:
> I found a way to create "Open File" or "Open Folder" windows dialog
> boxes, but not to create an easier Yes / No dialog box...
> Maybe someone has a solution for this?

Assuming you are on MS Windows.
import win32api, win32con
win32api.MessageBox(0, "Question", "Title", win32con.MB_YESNO)




More information about the Python-list mailing list