If you are doing this after code has already written on the line above, you should be able to do the auot indent with the insert.
Going by the documentation you can use a column, row index for positioning.
Here is a link on stackoverflow. The first response has an example.
And a link to EffBot
As a side not python3's f-string recognizes as a space character. I found this out experimenting on something for displaying. I do not know about the tkinters text widget but, the labels will use it.
Stackoverflow
Tikinter Book Text Widget
Going by the documentation you can use a column, row index for positioning.
Here is a link on stackoverflow. The first response has an example.
And a link to EffBot
As a side not python3's f-string recognizes as a space character. I found this out experimenting on something for displaying. I do not know about the tkinters text widget but, the labels will use it.
Stackoverflow
Tikinter Book Text Widget
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags