0

'. /FullPics/'

I got this error when I'm compling python code which I get from github for my project... Any one can explain me what is this? img_file = [f for f in os. listfir(cur_path) if os. path. isfile(cur_path + f)] OSError: [Errno 2] No such file or directory: '. /FullPics/'

23rd Feb 2019, 8:28 AM
Ashish Verma
Ashish Verma - avatar
1 Answer
+ 1
You didn't share the whole code... This code search all files in a given directory (here cur_path).
23rd Feb 2019, 9:05 AM
Théophile
Théophile - avatar