You can run the application on the module or test the application locally on your PC.
More:
Connect the Module
Run Python Scripts on the Module
Run Python Scripts Locally
Example: Run Script Locally and on the Module