I am trying to run python code in Thonny App.The problem is it displays pygame screen when running python code.How can I get rid of the pygame screen? ['!'enter image description here](https://i.sstatic.net/JfQvkkI2.png)
Just the python code result should be displayed not the pygame screen.
asked Jun 10, 2025 at 11:51
nasrin begum pathan
1032 silver badges10 bronze badges
1 Answer 1
You have Pygame Zero mode turned on.
In the "Run" menu, there is an option for "Pygame Zero mode". Uncheck this option, and the screen will not appear. enter image description here
answered Jun 12, 2025 at 16:06
Brendan Mitchell
6653 silver badges16 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
lang-py