Python script output files using project run system

I’m relatively new to Nova.

I’m trying to configure a run task that executes a Python script that generates a text file in a folder. If I use the built in terminal pane, I can execute the script and it generates the output text flle. When I run the script using the build system, Nova indicates that the run task was successful, but there is no output text file. Sublime Text’s build system runs the script and generates an output text file, so this behaviour has me confused. I assume that there an option/setting that I’m missing somewhere.

Thanks in advance.

Are you generating a seperate text file or just writing text output to standard output?

Nova won’t stop python from writing a file, so it’s likely misconfigured. If you click the task → edit task, then at the bottom open report → On Run, it might give you some more insight. (I get the impression the report is what you’re looking for though anyway, so this might be all you need).

The report shows everything printed to standard output, so you can use print statements in your python program to make sure it’s running the right program