Advertisement
timber101

GUIZERO - Wanted Poster

Jul 7th, 2021
796
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.55 KB | None
  1. # wanted poster project
  2. from guizero import App, Text, Picture
  3.  
  4. app = App("Wanted !")
  5. app.bg =  "blue"  #"#2A6F37"  #(190,222,32)
  6.  
  7. wanted_text = Text(app, "WANTED")
  8. wanted_text.text_size = 50
  9. wanted_text.font = "Impact"
  10. wanted_text.text_color = "yellow"
  11. # wanted_text.font_colour = "yellow"
  12.  
  13. poster_picture = Picture(app, image ="banditcat.png")  # to keep this simple, this needs to be in same folder as code
  14.  
  15. reward_text = Text(app, "REWARD £500", color = "yellow")
  16. reward_text.text_size = 40
  17. reward_text.font = "Ink Free"
  18.  
  19.  
  20. app.display()
Advertisement
RAW Paste Data Copied
Advertisement