I knew it was simple as hell! Thanks On Mon, Apr 6, 2009 at 3:46 PM, John Creson <[email protected]> wrote:
> f=True > > print (not f) > > > On Mon, Apr 6, 2009 at 3:38 PM, sberger <[email protected]> wrote: > >> >> Hi, I am trying to reverse a boolean value. I use this a lot in mel >> in UI creation to set the value to the reverse of another control. >> For example, in mel this works fine: >> $a = true; >> print (!$a); >> >> How can I do this in python? I'm sure the solution is simple but for >> some reason i can't figure this one out >> >> > > > > -- They say, "Evil prevails when good men fail to act." What they ought to say is, "Evil prevails." Nicolas Cage as Yuri Orlov in Lord of War. --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
