Reputation: 2093
my folder organization looks like below. Type 1 and Type 2 folders contains same files but I want to only read the files from 'type 2' folder. Is there any simple way to do that?
I have used this code but not able to read:
for file in os.listdir('Type 2'):
print file
your help will be highly appreciated!
Upvotes: 7
Views: 11602