If I write
current_path = os.path.dirname(os.path.abspath(__file__))
Then I get the path to the current file running.
What I need is the absolute path from the current file to:
'../Data/my_data.csv'
How do I use os
to output the absolute path to '../Data/my_data.csv'
without changing my working directory or anything else?