How to get the value of a selected treeview item?
<p>I've looked at several posts regarding this and they've done the following</p>

<p>-The output i get is blank</p>

<p>-The output i get is the id, which is practically useless unless somebody can show me how to manipulate it</p>

<p>-No output at all</p>

<p>i just want to be able to click an item in treeview, and instantly be given the text i just clicked</p>

<pre><code> def OnDoubleClick(event):
        item = course1_assessments.focus()
        print (item)

 course1_assessments.bind("&lt;&lt;TreeviewSelect&gt;&gt;", OnDoubleClick)
</code></pre>

<p>This code gives me 'I001' if i click the first item, and 'I002' when i click the second; id assume these are column values in the tree, but still useless to me</p>