File: pyedit-products/unzipped/docetc/examples/Assorted-demos/demo-tk-line1-scroll-bug.py
from tkinter import *
root = Tk()
vbar = Scrollbar(root)
text = Text(root, height=5)
vbar.config(command=text.yview)
text.config(yscrollcommand=vbar.set)
vbar.pack(side=RIGHT, fill=Y)
text.pack(expand=YES)
# comment-out second see() to see the see() bug
text.insert(END, 'aaa\nbbb\nccc\nddd\neee\nfff\nggg\n')
text.see('1.0')
text.see('1.0') # because once is not enough...
root.mainloop()