change current working directory in python

前端 未结 2 1891
挽巷
挽巷 2021-02-20 04:17

I made a folder on my desktop with the name \"headfirstpython\" and I need to change my current working directory to that folder and to the sub folder inside of it. I used os.ge

2条回答
  •  名媛妹妹
    2021-02-20 05:15

    I had the same problem before.I solve this when I found that if I created a file on my desktop, the file image would be shown on my desktop, but it will not exist in C/users/Desktop. Maybe you can check whether your file is exist in your C drive's desktop or not. Hope this will help.

提交回复
热议问题