А
Size: a a a
楽
СИ
if "запусти файл" in text:
keys2 = ["запусти файл"]
path = 'C://'
file_name = text.split()[-1].strip()
files = glob.glob(f"C://**/{str(file_name)}.txt", recursive=True)
for i in keys2:
text = text.replace(i, '')
text = text.strip()
os.startfile(str(files))
print(str(files))СИ
СИ
СИ
СИ
СИ
if "запусти файл" in text:
keys2 = ["запусти файл"]
path = 'C://'
file_name = text.split()[-1].strip()
files = glob.glob1(path, f'{str(file_name)}.txt')
for i in keys2:
text = text.replace(i, '')
text = text.strip()
for file in files:
os.startfile(path + file)СИ
a
DD
T
T
T