Advertisement
EmmettMilligan

Python Graphics Text

Feb 5th, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. from graphics import*;
  2.  
  3. window = GraphWin("Text doe",500,500)
  4.  
  5. t1 = Text(Point(250,250),"ha")
  6. t1.setStyle("bold")
  7. t1.setSize(15)
  8. t1.draw(window)
  9.  
  10.  
  11. window.getMouse()
  12. window.close();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement