How to get in python the name of the natron file (exemple >> comp.ntp) ?


I must use Natron for TechCheck render outputs and I want to automated my output file and template setup. But for that, I must get the natron “filename.ntp” in a variable to make the expressions I need to automate my template.

Could you give me the part of code needed to get this “filename.ntp” ? A working one please, some exemple in the documentation not work at all.

Thank you,