How to know the pixel size of a specific text on turtle graphics in python?

Viewed 1584

As title, when I execute the following code


import turtle
turtle.write("some text")

I want to know the whole size (including height and width) of the string some text on the canvas of the turtle graphics.
How can I do that?

3 Answers
Related