Home > OS >  Python tkinter image display abnormal problems in Windows environment
Python tkinter image display abnormal problems in Windows environment

Time:09-24

Use python recently wrote a small game, the interface using the tkinter,
When switch interface based on two-dimensional list traversal change every Label "image" attribute, namely switch images, problems should be appeared on the traversal, running in the Ubuntu environment completely no problem, but in Windows environment image refresh every time all don't show at the beginning, after the mouse slip (no need to click on the images will appear one by one, have similar friends, party is not convenient to tell me how to optimize this problem?
Ps: because there is no network computer, so I'm sorry can only use pictures of

CodePudding user response:

Is not the same as the image path? Used tkinter, look at
  • Related