Program Entry Point

You can use the program entry point to lock a file used when running and submitting a project. If the setting is left blank, the currently open file is used. To add or modify this setting, click the Settings icon in the left sidebar and locate the Program Entry Point section:

Program Entry Point setting

Provide a value here to override the value for the {{entry}} template throughout the rest of your content (instead of the default value).

Example

For interpreted languages (such as Python, Ruby, and Node.js) the default run command contains the {{entry}} template (e.g., python3 {{entry}}). This will result in the file that the user currently has open being run when the run button is clicked and when tests are ran. If you would like a specific file to be run, you can specify the filename (e.g., main.py) in the program entry point setting.