AnsweredAssumed Answered

If statement based on if a file is present.

Question asked by sb52191 on Aug 5, 2013
Latest reply on Aug 5, 2013 by sb52191
Hi, I'm having trouble writing an if statement, where the condition is if a file is input by the tool's user. For example, I thought the syntax was:
if file == True:      The do stuff

But it's not working correctly. Advice? I think this is an embarrassing easy thing to do, I'm just not sure what the right syntax is.