for filename in os.listdir FileNotFoundError: [Errno 2] No such file or directory

前端 未结 0 1704
萌比男神i
萌比男神i 2020-12-12 19:03

I try to list a file from directory in not the working directory

import os

for filename in os.listdir("home/pc/folder/logs/user1/):
    path = "hom         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题