On Thu, Jan 30, 2014 at 11:55 AM, Nathan Rusch <nathan_ru...@hotmail.com>wrote:
> I wouldn't bother with Python. > > (frame == root.first_frame || frame == root.last_frame) ? 1 : 0 > > > -Nathan > But this is a python list :P However, I agree that tcl is better suited. You could even drop the ternary operator if you need to save some keystrokes: frame==root.first_frame || frame == root.last_frame
_______________________________________________ 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