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
by
import SimpleGUICS2Pygame.simpleguics2pygame as simplegui
in your CodeSkulptor program and run it in standard Python with this module (and Pygame).

SimpleGUICS2Pygame

Online HTML documentation on Read The Docs.

Installation

If pip is installed on your platform you can do:

>>> pip install SimpleGUICS2Pygame

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

>>> python setup.py install

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

On Window$:

See Complete installation on Window$ in few steps.

Examples

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

Or online: Python programs running in CodeSkulptor .

License: GPLv3 GPLv3

Copyright (C) 2013, 2014 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 <http://www.gnu.org/licenses/>.

Changes

  • 01.06.03 — July 24, 2014
    • Implemented width parameter in add_label().
    • Added test/test_button_label.py.
  • 01.06.02 — July 18, 2014
    • Corrected stupid error in add_label().
  • 01.06.01 — July 17, 2014
    • Added (fake) width parameter in add_label().
    • Corrected gz archive of HTML offline documentation.
    • Added private members in all documentation.
  • 01.06.00 — June 16, 2014
    • Updated numeric.
    • Updated example/Spaceship_prototype.py and example/RiceRocks_Asteroids.py.
    • Updated test/test_dir.py.
    • Added Loader.cache_clear() and Loader.print_stats_cache().
    • Added a cache mechanism to Pygame surfaces used by ``Image`` (improve speed of draw_image()).
    • Added Image._url attribute.
    • Moved _RADIAN_TO_DEGREE.
    • Print now to stderr instead stdout.
    • Updated _draw_about().
    • Updated documentation.
    • Updated media and CodeSkulptor programs links.
  • 01.05.00 — May 25, 2014

Complete changelog

Release history Release notifications

History Node

01.09.00

History Node

01.08.01

History Node

01.08.00

History Node

01.07.00

This version
History Node

01.06.03

History Node

01.06.02

History Node

01.06.00

History Node

01.05.00

History Node

01.04.00

History Node

01.03.00

History Node

01.02.00

History Node

01.01.00

History Node

01.00.02

History Node

01.00.00

History Node

00.92.00

History Node

00.91.00

History Node

00.90.10

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
SimpleGUICS2Pygame-01.06.03-py2.7.egg (1.2 MB) Copy SHA256 hash SHA256 Egg 2.7 Jul 24, 2014
SimpleGUICS2Pygame-01.06.03-py3.2.egg (1.2 MB) Copy SHA256 hash SHA256 Egg 3.2 Jul 24, 2014
SimpleGUICS2Pygame-01.06.03.tar.gz (978.2 kB) Copy SHA256 hash SHA256 Source None Jul 24, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page