Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #9058
| Date | 2011-07-07 14:42 -0700 |
|---|---|
| From | Ethan Furman <ethan@stoneleaf.us> |
| Subject | Re: i get different answers based on run platform |
| References | <842fce9d-1b3f-434a-b748-a6dc4828c385@h12g2000pro.googlegroups.com> <iv4ue2$ij0$1@reader1.panix.com> <mailman.762.1310065208.1164.python-list@python.org> <88cc310e-9436-4381-bd13-bc8816c7f5e4@v11g2000prn.googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.764.1310074094.1164.python-list@python.org> (permalink) |
linda wrote:
> I tried something = input('enter text:').rstrip('\n') as suggested but
> the problem persists. BTW, the intermediate print commands agree and
> so are not an issue. The disagreement is in IDLE correctly
> identifying palindromes and Windows not. I do suspect it may be a
> trailing '\r' issue. Is there an easy fix or shall I wait for the new
> Python versions to be released? Thanks for helping.
My apologies -- change the '\n' to '\r' and that will hopefully do the
trick.
~Ethan~
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
i get different answers based on run platform linda <postslot@gmail.com> - 2011-07-07 11:18 -0700
Re: i get different answers based on run platform John Gordon <gordon@panix.com> - 2011-07-07 18:37 +0000
Re: i get different answers based on run platform Ethan Furman <ethan@stoneleaf.us> - 2011-07-07 12:11 -0700
Re: i get different answers based on run platform MRAB <python@mrabarnett.plus.com> - 2011-07-07 19:59 +0100
Re: i get different answers based on run platform linda <postslot@gmail.com> - 2011-07-07 14:09 -0700
Re: i get different answers based on run platform Ethan Furman <ethan@stoneleaf.us> - 2011-07-07 14:42 -0700
Re: i get different answers based on run platform linda <postslot@gmail.com> - 2011-07-07 14:37 -0700
Re: i get different answers based on run platform Ethan Furman <ethan@stoneleaf.us> - 2011-07-07 11:58 -0700
Re: i get different answers based on run platform MRAB <python@mrabarnett.plus.com> - 2011-07-07 19:54 +0100
csiph-web