Files
sisvietnamvn_01/sisvietnamvn_main/test_grep.py
T

7 lines
235 B
Python

with open('/home/x79/sisvietnamvn_01/BV_DHYD_HCM/Đội ngũ bác sĩ UMC.html', 'r', encoding='utf-8') as f:
text = f.read()
if "chuyên khoa" in text:
print("Found 'chuyên khoa'")
else:
print("Not found 'chuyên khoa'")