How to integrate SimpleGUI with Python 2.7 and 3.0 shell

前端 未结 7 1149
灰色年华
灰色年华 2020-12-08 05:19

I am learning Python from Coursera. In this course they use SimpleGUI module on CodeSkulptor. Can anyone tell me how to integrate SimpleGUI with python 2.7

7条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-08 05:59

    I don't see any information on PyPI about which versions of Python simpleGUI supports. You can just try running it with Python 3 and see what happens. If it doesn't work, try using the 2to3 tools: http://docs.python.org/2/library/2to3.html

    Note that simpleGUI is based on Tkinter. I would recommend learning a full GUI toolkit like Tkinter, wxPython or PySide rather than a derivative.

提交回复
热议问题