title: Dynamic sizing Tkinter canvas text
body: <p>I am talking specific to python Tkinter, I have text along with a button in-lined and I am using pixel coordinates. Now my text string is changing dynamically, but if the text string is long then it overflows. </p>
  
  <p>So I want if there any way if I can change the coordinates based on text length</p>
  
  <p>For example:</p>
  
  <pre><code>canvas.create_text(20, 30, anchor=W, font="Purisa",
      text="Most relationships seem so transitory")
  </code></pre>
  
  <p>If I use something like this</p>
  
  <pre><code>canvas.create_text(20+len(text), 30, anchor=W, font="Purisa",
      text="Most relationships seem so transitory")
  </code></pre>
  
  <p>I am very new to tkinter and got a code to debug which is very tight, so I cannot change it dynamically in first place</p>