Here’s how to create text on computer graphics in Python.
canvas.create_text(x, y, text=’hi’, anchor=’w’)
‘w’ anchor centers the text vertically around the reference point.
(x, y) is the reference point for the text. It is the center midline of the first letter of text.