728x90
import wx
class Dialog(wx.Dialog):
def __init__(self, parent, id, title):
wx.Dialog.__init__(self, parent, id, title)
class MyApp(wx.App):
def OnInit(self):
dia = Dialog(None, -1, "다이얼로그~")
dia.ShowModal()
dia.Destroy()
return True
app = MyApp(0)
app.MainLoop()
결과
728x90
'개발자 모드 > 파이썬(python)' 카테고리의 다른 글
python pyinstaller 설치하기 (0) | 2021.05.27 |
---|---|
파이썬 yaml 설치 하기 (0) | 2021.05.27 |
파이썬 yml / SingleChoiceDialog / 조건문 (0) | 2021.05.20 |
파이썬 UnicodeDecodeError: 'cp949' codec can't decode byte 0xec in position 23: illegal multibyte sequence 에러 시... (0) | 2021.05.20 |
파이썬 yaml로 SingleChoiceDialog 만들기 (0) | 2021.05.20 |