Thank you so much!
Something else I was wanting to do is have the current port being the only one that was displayed, instead of adding it at the end of a list of all the previous ports. I modified the for loop from what you suggested to do so:
Something else I was wanting to do is have the current port being the only one that was displayed, instead of adding it at the end of a list of all the previous ports. I modified the for loop from what you suggested to do so:
for p in ports: currentport.delete(1.0, END) #this deletes everything in the box before printing out the next one #there may be a cleaner way to do this, but this works for me currentport.insert(END, n) window.update_idletasks()