Creating Jython script files
You can create a new Jython script file, which you can
then edit in the Jython editor.
About this task
To create a Jython script file, follow these instructions:
Procedure
- If necessary, create a project to contain the Jython script file. You can define a Jython project to contain the Jython script file. See Creating a Jython Project.
- In the menu bar, select File > New > Other . The New wizard opens.
- Expand the Jython folder and select Jython Script File. Click Next.
- In the Parent folder field, specify the path of an existing project folder in the current workspace where you want to store the new Jython script file. For example, if you specify the path as /myProject, the Jython script file is created in the Navigator view under the project called: myProject. You must specify a project folder that already exists in the workspace.
- In the File name field, type a name for your new Jython script file. The file extension must be .py or .jy.
- Click Finish to create the Jython script file.