Komodo IDE creating unique log name name within arguments

I am new to Komodo ide (trial version). I have a argument for creating a log filename for each time I execute the script. In unix I use the following on the argument list.
-log_file “~/log/test_date +%F_%T.log”
is there a way to create a unique filename with date and time timestamp.

In what context are you executing your script in Komodo? Run command, debug, macro … ?

I am run mainly in debug. Start it by F5 and then run to breakpoints.