Skip to main content

Primarily a standard Python module reimplementing the SimpleGUI particular module of CodeSkulptor (a browser Python interpreter).

Project description

It is primarily a standard Python (2 and 3) module reimplementing the SimpleGUI particular module of CodeSkulptor (a browser Python interpreter).

Simply change

import simplegui


    import simplegui
except ImportError:
    import SimpleGUICS2Pygame.simpleguics2pygame as simplegui

in your CodeSkulptor program and your program run both in CodeSkulptor and standard Python with this module (and Pygame).


Online HTML documentation on Read The Docs. (You can also use the online SimpleGUI documentation on CodeSkulptor.) Read Compatibility and Tips sections.


If pip is installed on your platform you can do:

>>> pip install SimpleGUICS2Pygame

(If several Python implementations are installed, maybe you must use something like pip2 or pip3 instead pip command.)

Without pip, download the archive SimpleGUICS2Pygame-?.tar.gz, unzip it somewhere. Next in the somewhere/SimpleGUICS2Pygame-?/ subdirectory run:

>>> python install

In both cases, you must use admin access. So with Linux you will probably do:

>>> sudo [your command]

Module simpleplot require matplotlib (and must be installed separately).

Modules simplegui_lib (and its submodules) and simpleguics2pygame (except for the Timer class) require Pygame (and must be installed separately).

You can run the little script to check if required modules are installed.

On Window$

See Complete installation on Window$ in few steps.

Examples of CodeSkulptor and SimpleGUICS2Pygame use

You can see examples in SimpleGUICS2Pygame/example/ subdirectory from the sources archives.

Or online: Python programs running in CodeSkulptor .

Author OPi

If you are happy with this free and free project you can support me financially by donating on my PayPal account or with Flattr.
Go to the link Donate

License: GPLv3 GPLv3

Copyright (C) 2013, 2014, 2015 Olivier Pirson

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <>.

Note that

  • SimpleGUITk is an other implementation, using Tkinter and some others packages. It is really less complete and not updated. However it works for some programs.
  • simplegui is a Python package which has the same name as SimpleGUI of CodeSkulptor, but it is totally something else.


  • May 14, 2015
    • Added example/
    • Corrected test/
    • Updated documentation.
    • Updated media and CodeSkulptor programs links.
  • 01.09.00 — January 1st, 2015
    • Added ``_load_local_image()`` and ``_load_local_sound()`` functions.
    • Added test/
    • Updated test/
    • Updated test/
    • Added --fps n option.
    • Added Donate button in _draw_about() panel.
  • 01.08.01 — October 9, 2014
    • Added information when pygame is not installed.
    • Corrected local filename bug in _load_media(). (Thanks to Sergey Sorokin.)
    • Updated documentation.
  • 01.08.00 — October 4, 2014
    • Added alternative grey colors.
    • Added HSL and HSLA colors format.
    • Added test/
    • Updated CodeSkulptor programs links.
    • Updated codeskulptor_lib.
    • Updated test/
    • Updated media links.
  • 01.07.00 — September 2, 2014
    • Added plot_scatter() function in simpleplot module.
    • Added test/
    • Updated test/
    • Updated documentation.
    • Updated CodeSkulptor programs links.
  • 01.06.03 — July 24, 2014
    • Implemented width parameter in add_label().
    • Added test/
  • 01.06.02 — July 18, 2014

Complete changelog

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for SimpleGUICS2Pygame, version 01.09.00
Filename, size File type Python version Upload date Hashes
Filename, size SimpleGUICS2Pygame-01.09.00-py2.7.egg (1.3 MB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size SimpleGUICS2Pygame-01.09.00-py3.2.egg (1.4 MB) File type Egg Python version 3.2 Upload date Hashes View
Filename, size SimpleGUICS2Pygame-01.09.00.tar.gz (1.2 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page