как добавить текстовую анимацию пишущей машинки для видео, используя python
import time, sys
from PIL import Image
from PIL import ImageFont
from PIL import ImageDraw
def anything(str):
for letter in str:
sys.stdout.write(letter)
sys.stdout.flush()
time.sleep(0.1)
anything("You have woken up in amysterious maze")