I'm trying to print with delay (one character appears, a few milliseconds pass and then the next one appears) on the same widget multiple times one after the other, being something like >text appears with delay > a second passes> more text appears with delay... and so on. time.sleep() doesn't seems to work and i don't know how to properly use .after()

Here's the code i'm using

```
from tkinter import *

def insert_slow(widget, string):
    if len(string) > 0:
        widget.insert(END, string[0])

    if len(string) > 1:
        widget.after(50, insert_slow, widget, string[1:])

root=Tk()

tx=Text(root)

tx.pack()
insert_slow(tx, "this is a testing piece of text\n")
tx.after(3000)
loop=insert_slow(tx, "this is another testing piece of text")

root.mainloop()

```