Wxpython installation:
Install Using this:
pip install wxpython
Code to Print a message on Screen:
Algorithm:
Creating GUI and showing a message on window using wxpython:
CODE:
import wx
app1 = wx.App()
frame = wx.Frame(None, title="CPP")
pa = wx.Panel(frame)
text1 = wx.StaticText(pa, label="CPP SECRETS", pos =(150, 70))
frame.Show()
app1.MainLoop()
OUTPUT:
.....
Comments