Hi all !
I am developing GUI in Python Tkinter for one application.
In this I have created one Text box. And I need to insert the text inside the text box directly in to some paticular line say 10th line, without inserting any '/n' before that line...
For Example :
text = Text(parent, height, width, .... ) # Creating Text widget inside its parent.
text.insert(INSERT, "Hi\n") # inserting "Hi" in the first line
text.insert("%d.%d"%(10, 0), "Hello") # Now Inserting "Hello" at 10th row or line.
But whenever I execute this program, The text is always inserted at the next line(2nd line)line only... and not at the 10th line.....
Is there any way to solve this problem? Please help me out...
Thanks in advance,
Shambhu.