Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #9058

Re: i get different answers based on run platform

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ethan@stoneleaf.us>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:based': 0.07; 'python': 0.08; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'helping.': 0.09; 'message- id:@stoneleaf.us': 0.09; 'received:gator410.hostgator.com': 0.09; 'trailing': 0.09; '~ethan~': 0.09; 'wrote:': 0.15; 'persists.': 0.16; 'received:72.11': 0.16; 'received:72.11.125': 0.16; 'received:72.11.125.166': 0.16; 'received:gateway01.websitewelcome.com': 0.16; 'hopefully': 0.16; 'intermediate': 0.16; 'cc:addr:python-list': 0.16; 'issue.': 0.19; 'cc:2**0': 0.21; 'cc:no real name:2**0': 0.22; 'header:In-Reply- To:1': 0.22; 'versions': 0.23; 'suspect': 0.25; 'windows': 0.26; 'tried': 0.27; 'idle': 0.29; 'problem': 0.29; 'fix': 0.29; 'cc:addr:python.org': 0.30; 'not.': 0.30; 'btw,': 0.30; 'thanks': 0.31; 'print': 0.32; 'header:User-Agent:1': 0.34; 'there': 0.34; 'agree': 0.35; 'but': 0.37; 'subject:: ': 0.38; 'something': 0.38; 'correctly': 0.39; 'received:websitewelcome.com': 0.65; 'received:184': 0.67; 'received:69.56': 0.73; 'subject:different': 0.84; 'trick.': 0.84
Date Thu, 07 Jul 2011 14:42:45 -0700
From Ethan Furman <ethan@stoneleaf.us>
User-Agent Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version 1.0
To linda <postslot@gmail.com>
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>
In-Reply-To <88cc310e-9436-4381-bd13-bc8816c7f5e4@v11g2000prn.googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - gator410.hostgator.com
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - stoneleaf.us
X-BWhitelist no
X-Source
X-Source-Args
X-Source-Dir
X-Source-Sender mail.admailinc.com ([192.168.10.136]) [72.11.125.166]:2713
X-Source-Auth ethan+stoneleaf.us
X-Email-Count 1
X-Source-Cap dG9idWs7dG9idWs7Z2F0b3I0MTAuaG9zdGdhdG9yLmNvbQ==
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.764.1310074094.1164.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1310074094 news.xs4all.nl 21757 [2001:888:2000:d::a6]:57193
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:9058

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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