Incepted/tets.py

5 lines
75 B
Python

import os
path = os.listdir('.')
print(path)
print(os.path.isdir(path[6]))