How to import text file from different folder?
Question: I have my project folder `\FNAL PROJ\project` and I need to open `file.txt`
from folder `\FNAL PROJ\project\data`

How to do it in Python?


Answer: Assuming your main script is somewhere on \FNAL PROJ\project folder:

    
    
    with open("data/file.txt", "r") as f:
        file_content = f.read()
    

