Solution
./static/data/test.csv # if the file in a static folder inside the execution context
../static/data/test.csv # if the file is in the parent directory
../../static/data/test.csv # if the file is in the grandparent directory
./static/data/test.csv
>>> from os.path import relpath
>>> relpath('./static/data/test.csv')