This is how to place text onto your canvas.
text_1.py, inside the directory called
text_1.pyand your program should execute.
# text_1.py #>>>>>>>>>> from Tkinter import * root = Tk() root.title('Basic text') cw = 400 # canvas width ch = 50 # canvas height canvas_1 = Canvas(root, width=cw, height=ch, background="white") canvas_1.grid(row=0, column=1) xy = 150, 20 canvas_1.create_text(xy, text=" The default text size looks \ about 10.5 point") root.mainloop()
The results ...