How to integrate SimpleGUI with Python 2.7 and 3.0 shell

Tahmeedbuet picture Tahmeedbuet · May 5, 2013 · Viewed 41.6k times · Source

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 and 3.0 shell?

Answer

Pedro Guerreiro picture Pedro Guerreiro · Jun 11, 2013

You can just use SimpleGUITk (http://pypi.python.org/pypi/SimpleGUITk) which implements a Tk version of simplegui.

To use your CodeSkulptor code in the desktop, you just need to replace

import simplegui

with

import simpleguitk as simplegui

and that's it, your program made for CodeSkulptor code should work on the desktop.