PermissionError: Permission denied to reading CSV File in Python

前端 未结 4 1466
故里飘歌
故里飘歌 2021-01-05 19:11

Simply I wanted to read the csv file that I converted from Data Frame after read the another csv file and same time I tried to remove header from in it.

4条回答
  •  没有蜡笔的小新
    2021-01-05 19:19

    Whatever the other folks described is probably correct.

    In my particular case:

    The text file i am trying to read is on a shared drive on my work laptop. Corporations sync the shared drive so that you don't loose your data. With me this sync was the issue. I manually synced the folder and then i was able to read the file.

    If the file is not synced, i doubt if you can even open the file. I tried and it said "Permission Denied" as it shows in jupyter notebook.

    Hope that helps.

提交回复
热议问题