Skip to content Skip to sidebar Skip to footer

How To Read Python File Using Wsl?

I have an exported file from python 3.7 (python installed in windows 10, under anaconda3), I want to read this file using jupyter notebook and python 3.6.9 (python installed via W

Solution 1:

You have to use Linux file paths because it is acting like the Linux OS. Change r"D:\Data\CSV_file.csv" to r"/mnt/d/Data/CSV_file.csv" since /mnt/d is equivalent of D:.


Post a Comment for "How To Read Python File Using Wsl?"