Skip to main content

JES4py - a JES emulator for Python 3

JES, the Jython Environment for Students, is an educational IDE used in the Media Computation curriculum developed by Mark Guzdial and Barbara Ericson at Georgia Tech. More details on the curriculum are available at http://www.mediacomputation.org/.

Jython is a Java implementation of Python 2.x and was designed to allow rapid application development and scripting access to Java functionality.

JES4py implements a subset of JES features that can be used in Python 3.x scripts. The goal is to provide the pedagogical assets of JES without requiring Jython or needing to use JES's IDE.

Prerequisites

  1. An IDE (Integrated Development Environment) of your choice. Visual Studio Code is recommended if you have no preference.
  2. Python 3.6 or higher
  3. A Supported OS: Windows, MacOS, Linux

Installing JES4py

JES4py needs Python 3.6 or higher. Before proceeding, find out how to run Python 3 from the command line on your computer. Usually this is done by typing python or python3 at the command prompt. You can check your version with python --version or python3 --version.

Ideally you will be able to install JES4py using a single command: use either

python -m pip install -U jes4py

or

python3 -m pip install -U jes4py

If this fails, it is probably due to some missing prerequisites on your system. Study the error message for clues as to what is needed. Trying to install the prerequisite one-by-one may be helpful (using python or python3 as appropriate):

python3 -m pip install -U wxPython
python3 -m pip install -U wave
python3 -m pip install -u simpleaudio

Once these are installed, rerun the command

python3 -m pip install -U jes4py

to install the JES4py package.

Using JES4py

To use JES4py functions in a Python interactive session you should type the following command at the Python prompt.

from jes4py import *

To access JES4py functions in from a Python program, you should include the same line at the top of any file containing a Python program that uses JES4py functions. For example:

from jes4py import *

filename = pickAFile()
print('Hello! You picked the file', filename)

Release files for jes4py 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jes4py 0.1.7
File Size Uploaded
jes4py-0.1.7.tar.gz 49.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jes4py 0.1.7
File Interpreter ABI Platform
jes4py-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 110.0 kB

Release files / jes4py-0.1.7.tar.gz

Download URL jes4py-0.1.7.tar.gz
Size 49.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3f96ce033596431d21b0afad90d86d84d2533ae41ab61cdd2d7484d4f40c30b9
BLAKE2b-256 checksum
How to use checksums
74f4d1bbacb49bc6e57249323bfe6309ea11ad9db143381d6d241f3f5e3e1af2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / jes4py-0.1.7-py3-none-any.whl

Download URL jes4py-0.1.7-py3-none-any.whl
Size 61.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
534715a1bdf04e315ecbb6d166838a0c586369b2c720060fdb41b453e374a335
BLAKE2b-256 checksum
How to use checksums
384b340088051d4b8a8170486d0541daf69d39d84b5c1e711ec7ae6f7c521cbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page