6 lines
135 B
Python
6 lines
135 B
Python
|
|
from __future__ import with_statement
|
||
|
|
|
||
|
|
with open(filename, 'r') as f:
|
||
|
|
for line in f:
|
||
|
|
pass # process line, includes newline
|