How can I change code on both computers into code that will universally recognise the same file (see bellow absolute paths) that is located differently. I don't want to move data and making the same repo locations on both computers because of storage issues on one PC, and I am importing data from my SD card.
PC1:
df = pd.read_csv("D:/data/text.txt")
PC2:
df = pd.read_csv("C:/Users/Uporabnik/Desktop/desktop/IJS/CESTEL/data/text.txt")