Open yankj12 opened 5 years ago
import io file = io.open(txtName, encoding='utf-8') for line in file: if not line: break else: pass file.close()