`print` is a statement, not a function. It simply tells Python to write 
something to an output stream. It does not return anything, so there will be 
nothing to put into `script_result()`. It is also not an expression.

I can almost guarantee Nuke is not redirecting Python's stdout/stderr streams 
into `script_result()` for you in the context of the evaluation.



_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to