Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3691 > unrolled thread
| Started by | "Frank Millman" <frank@chagford.com> |
|---|---|
| First post | 2011-04-20 14:31 +0200 |
| Last post | 2011-04-20 14:31 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
py32 on windows - input() includes trailing \r "Frank Millman" <frank@chagford.com> - 2011-04-20 14:31 +0200
| From | "Frank Millman" <frank@chagford.com> |
|---|---|
| Date | 2011-04-20 14:31 +0200 |
| Subject | py32 on windows - input() includes trailing \r |
| Message-ID | <mailman.639.1303302750.9059.python-list@python.org> |
Hi all On linux, python 3.2 - >>> x = input() xyz >>> len(x) 3 >>> x 'xyz' on windows, python 3.2 - >>> x = input() xyz >>> len(x) 4 >>> x 'xyz\r' Is this expected behaviour? Frank Millman
Back to top | Article view | comp.lang.python
csiph-web