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
The replacement for simplegui is SimpleGUICS2Pygame.
Steps to install:
-
Step 1: Install Python 2.7 and Simpleguics2Pygame from : https://pypi.python.org/packages/source/S/SimpleGUICS2Pygame/SimpleGUICS2Pygame-01.08.00.tar.gz#md5=e4a18fe83e4a64c6222bfb71349be31e
Step 2: Extract it to a location (Lets call it somewhere)
Step 3: Open command prompt as administrator and change directory using the command
cd somewhere/SimpleGUICS2Pygame-01.08.00.
Step 4: Run the command setup.py install
SimpleGUICS2Pygame is now installed and can now be accessed using the following code instead of import simplegui
:
try:
import simplegui
except ImportError:
import SimpleGUICS2Pygame.simpleguics2pygame as simplegui