Skip to content

Instantly share code, notes, and snippets.

View kk-hiraskar's full-sized avatar
💛

KK kk-hiraskar

💛
View GitHub Profile
@guineawheek
guineawheek / messagebox.py
Created June 25, 2015 20:30
Using native Windows message boxes in pure python
from __future__ import print_function
import ctypes
MB_ABORTRETRYIGNORE = 2
MB_CANCELTRYCONTINUE = 6
MB_HELP = 0x4000
MB_OK = 0
MB_OKCANCEL = 1
MB_RETRYCANCEL = 5
MB_YESNO = 4
MB_YESNOCANCEL = 3