Python key on press -


i have opening animation in program runs every time when program executed. has 5 frames, each frame separated

from time import sleep import os print("frame 1") sleep(2) os.system('cls') print("frame 2") 

i know possible in tk() window possible in console , during sleep()? using python 3.5

i see others use

from msvcrt import getch 

but me says not exist.


Comments

Popular posts from this blog

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

matlab - error with cyclic autocorrelation function -

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -