|
|
|
|
|
by tjgq
4651 days ago
|
|
With at least one small (and usually irrelevant) difference: "for line in file" has its own internal buffering which cannot be turned off with python -u. I learned this the hard way when debugging a Python script that read from tail -f output... |
|