I have some Python that runs in an infinite loop.
It scrapes some info from the web.
Displays it on InkyPhat
Sleeps for 20 seconds
Goes back to the start
However, it ends up printing the new info over the top of the old info, leading to screen corruption.
How can I get it to wipe the screen before printing the new stuff?
When i run the program repeatedly on demand with no loop, it doesn’t do this, and it says “Shutting down display” each time. However, when I loop it doesn’t do this.