Running via Atom Editor #2

To run JythonMusic programs with the Atom editor, follow these steps:

1. Download Atom here.

2. Install the ‘platformio-ide-terminal’ package.  Go to Atom > Preferences… (Mac) or File > Settings… (Windows) then click on ‘+ Install’ and search for  ‘platformio-ide-terminal’.  Install it.

3. To run program, click the ‘+’ at the bottom-left of the Atom window.  This will open up a terminal window, right below the file window.

4. Click in the terminal window, and type the command:

Mac:
sh jython.sh <filename.py>
Windows:
.\jython.bat <filename.py>

5. To stop the program, click in the terminal window, and type Ctrl + C (Mac / Windows).

Note: Make sure the program you are running is saved in the same directory as the jython.sh/jython.bat files!!