Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cbsmith
on March 25, 2014
|
parent
|
context
|
favorite
| on:
Why I like Java
> If you write `for line in sys.stdin: sys.stdout.writte(line)` instead, you'll solve these problems by buffering line-by-line.
Except no. Then you run in to problems with a binary file that might not have a line break.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Except no. Then you run in to problems with a binary file that might not have a line break.