Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from guizero import App, Text
- app=App(title="Hi there")
- firstmessage= Text (app, text="THis is big text")
- secondmessage= Text (app, text="THis is green")
- thirdmessage=Text (app, text="This is third")
- firstmessage.text_size=40
- firstmessage.bg="red"
- secondmessage.bg="green"
- thirdmessage.text_size=20
- thirdmessage.font="mono"
- thirdmessage.bg="cyan"
- app.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement