Код: Выделить всё
import glob
print("1")
for file in glob.glob(r'C:\*****\***\a.txt', recursive = True):
if file :
print("exists")
else :
print("file does not exist")
кажется, я делаю что-то не так
Подробнее здесь: https://stackoverflow.com/questions/791 ... ive-done-w
Мобильная версия