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:
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.
Thanks,
Scott
Code:
if file == True:
The do stuff
Thanks,
Scott