(Whoops. I found some new send hotkey for google-inbox, but I don't know what it was.)
I want to point out, that I often create a bunch of functions that have use when calling from the nuke script editor or other places in the UI. Since I've already setup a function that requires no input, I can easily add this callable directly in the menu.py for the studio. There then is no need to force an execution of a new anonymous bit of code, python can simply reuse the library that I already have loaded. Though, it's unlikely to be a memory issue within nuke. Using these other methods is most helpful developers. For me it keeps my syntax highlighting and autocompletion working within my IDE. A lambda is preferable when you need to add arguments and want your linter from your editor to continue working. Cheers, Jesse On Mon Nov 17 2014 at 3:39:32 PM Jesse Kretschmer <je...@krets.com> wrote: > my_menu.addCommand("View Latest Renders", > my_studio_utils.view_latest_renders ,"") >
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python