[Tutor] Python Help - While Loops
Within the while loop, the code will keep on running from the top of the loop to the bottom. Thus you will repeatedly ask for the user's name and repeately ask them to select a donut.
Within the while loop, the code will keep on running from the top of the loop to the bottom. Thus you will repeatedly ask for the user's name and repeately ask them to select a donut.
The arrays are colour-coded > visualisations of genomes and can be over a billion elements in size, > and I've found the PIL methods to display images in tkinter are too > slow and memory-heavy. > >If I > then click on the tkinter window titlebar, the popup changes to "'Tk' > is not responding".
Here's an example where naming the while loop might be helpful in making the code easier to understand. Or not. : P Let's see what this might look like.
As you can see, when there is an exception the socket closes (I run the program from idle, so I don't need to exit it). An exception will be every time the connection fails (because the port is closed ). I want it to print the text and go back and continue the loop whenever there is an exception, how...