Easy read and search through TXT files for Python

preview_player
Показать описание
I shortened the code as far as I could to read and prep text files for iteration without module imports. This is primarily. for those new to Python, Code Below:
fh = open(fname).read().strip().split()
[x for x in fh if "@" in str(x)]
#fileread #python #iteration
Рекомендации по теме
welcome to shbcf.ru