0

Please help me to find error in this code. I'm using windows os and python 2.7.

import os for dirpath, dirnames, filenames in os.walk('C:\Users\ABC\PycharmProjects\1'): print('Current path:', dirpath) print('Directories:', dirnames) print('files:', filenames) print()

30th Jan 2018, 6:50 AM
Rahul Ramachandran
Rahul Ramachandran - avatar
1 Resposta
+ 8
os.walk(r"C:.........) the gig is the r
30th Jan 2018, 8:14 AM
Oma Falk
Oma Falk - avatar