It might be possible. Startup 2.5 and check the value of the following in the interactive window:
It should point to "C:\Program Files\Vizard25" or wherever you installed 2.5
Python doesn't support the one line if/else. If you can guarentee that the value of the boolean will always be either 0 or 1 you could do the following:
Code:
x = [z,y][isBoolean]
Otherwise you could create your own function:
Code:
def ifelse(boolean,trueVal,falseVal):
if boolean:
return trueVal
return falseVal
x = ifelse(isBoolean,y,z)