Hi vitor, thanks for the prompt and helpful reply.
I've tried both of your suggestions:
1) Manually creating `my_script.py` under the workflow directory, then navigating to the workflow directory, doing `chmod +x my_script.py` in the terminal, and then triggering the Text View again. Still the same permissions error.
2) Creating `my_script.py` via the Text View object itself, clicking "Create", and then triggering the Text View object. Still the same permissions error.
The only way I got it to work is by create a file with no extension, say `my_script` via Text View "Create". Then I open the created file and write `#!/usr/bin/python3` in the first line, followed by whatever my Python script has. This time triggering the Text View gives no permissions error.
It's a viable workaround but I do feel like it's a hassle not being able to work with an external script. Have you tried it on your machine? Not sure if it's a problem on my end. Thanks.