Message162913
| Author |
pitrou |
| Recipients |
Arfrever, docs@python, jaraco, jgeralnik, pitrou, r.david.murray, serhiy.storchaka, zach.ware |
| Date |
2012年06月15日.15:46:51 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1339775026.3360.1.camel@localhost.localdomain> |
| In-reply-to |
<1339775096.6648.163.camel@raxxla> |
| Content |
> > so the readlines function should always return at least as many bytes as its first parameter. Is this assumption wrong?
>
> qwert
> 'qwert\n'
>
> You type five characters "qwert" end press <Enter>. Python immediately
> receives these six characters, and returns a result of
> sys.stdin.readline(1000).
Well, did you try readline() or readlines()? |
|