Is there a way to make ascii animation less choppy in python?
so if you run the "all aboard!" you can see that the cursor moves around and it is choppy. is there a way to change it?(don't say "don't use python")
Flush the screen constantly or get hacker or learn another lang.
Also, file reading does take a second so you may want to keep all the frames in one file and just load them into an array for easier access.
@Brendan23 put all the frames in one file then put seperators between them something like "=%!%="
then open the file with all the frames, read it and use
.split("(your seperator)") then if you put all the frames in order they should be in an organized array.
frames = open("file_of_frames.txt", "r").read().split("=%!%=") for frame in frames: print(frame)