Jython – A Project in Eclipse

To make a project in eclipse, we should follow the steps given below.

Step 1 − Choose File ? New ? Project. Choose PyDev from the filter dialog. Give project name, project type and click on Finish.

PyDev

Step 2 − Hello project will now appear in the project explorer on the left. Right click to add hello.py in it.

Hellopy

Step 3 − An empty hello.py will appear in the editor. Write the Jython code and save.

Empty Hellopy

Step 4 − Click on the Run button on the menu bar. The output will appear in the console window as shown below.

Run Button