Python output path

Is it possible to put python code into the output path of a render job in any way?

At our place we have many windows and Mac machines and the mac machines link to the server with “/Volumes/Servername/” and the PC’s link to the server with a ip adress “//ip.to.the.server/Servername/
In nuke we use [ python ‘/Volumes/’ if sys.platform == ‘darwin’ else ‘//192.168.2.x/’ ] in all our read and write notes to overcome this issue and it works fine when you submit thoes to deadline, but if i add a modo job for example from the monitor it won’t work.

Sorry for my stupidity… Did not see this in first readthrough.

thinkboxsoftware.com/deadlin … splatform/