"how to properly use file_exists with branch operator?"

kayman
kayman New Altair Community Member
edited November 2024 in Community Q&A
Hi, can anyone tell me what the condition value needs to be if one wants to check if a file exists or not using the branch operator?
If tried many things going from the actual file path to True or Yes but all are happily ignored.

Best Answer

Answers

  • kayman
    kayman New Altair Community Member
    edited December 2018
    Bummer...

    Seems like it's not working indeed if I use the 'windows user path logic' (which would have been /Documents/Formations_DataScience in your example), while ok if I use the C:\ path logic. I prefer the first one since it makes it equal to my Linux server environment and then I could have kept it simple. 

    Anyway, happy holidays for you also !