mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2024-11-14 17:40:24 -08:00
10 lines
269 B
Python
10 lines
269 B
Python
#!/usr/bin/env python
|
|
|
|
import ctypes
|
|
from jaraco.windows.util import ensure_unicode
|
|
|
|
|
|
def MessageBox(text, caption=None, handle=None, type=None):
|
|
text, caption = map(ensure_unicode, (text, caption))
|
|
ctypes.windll.user32.MessageBoxW(handle, text, caption, type)
|