Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!newsfeed20.multikabel.net!multikabel.net!newsfeed10.multikabel.net!xlned.com!feeder3.xlned.com!amsnews11.chello.com!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.023 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'subject:two': 0.04; 'ascii': 0.07; '>>>>': 0.09; 'am,': 0.12; 'cc:addr:python-list': 0.15; 'wrote:': 0.16; 'header:In-Reply-To:1': 0.22; 'documented': 0.23; 'cc:2**0': 0.25; 'print': 0.29; 'cc:addr:python.org': 0.29; 'header:User-Agent:1': 0.33; 'received:192': 0.38; 'why': 0.39; 'plain': 0.39; 'subject:: ': 0.39; 'subject:add': 0.67; 'header :Reply-To:1': 0.71; 'reply-to:no real name:2**0': 0.72 Date: Mon, 30 Jan 2012 08:23:22 -0500 From: Dave Angel User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111109 Thunderbird/3.1.16 MIME-Version: 1.0 To: contro opinion Subject: Re: add two strings References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:DfujD5KRjMHV+AXKEf89DUIciSvIVN2JdJWKHRhCUa3 LWGspXdPaT2Uyi8uc24pI+elk3VgQLyLCcr8EvWxontwA6yCjo MSrhKPUvXgie6kwmxHBxA/abdsLotsAHOmXaGaRbdImbzvgbwH U/oKE0+SFcbdJNrKZe3CfGZd0ICJ7VLdn+ixrZed5weX8byInq E3VrgiK4mwRAHkVxwM0rQ9ea9MkcDtJZHCjcGP/hSy8sQO7K2y /70Bs0DkuvBQUUrSqLRGrzafXfBKsLjBK4jgw7rzaHQLuw0mwY E4k2Zwua/wf4mrXkWGPeNjS46LvOeekzBWCa+6CHwTWPa0guRG vmCqX9tkXjMqliMvHU28= Cc: python-list X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: d@davea.name List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1327929840 news.xs4all.nl 6952 [2001:888:2000:d::a6]:43626 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:19600 On 01/30/2012 08:02 AM, contro opinion wrote: >>>> s1='\x45' >>>> s2='\xe4' >>>> s1+s2 > 'E\xe4' >>>> print s1+s2 > E > > why s1+s2 not = '\x45\xe4'?? > It is. "E" is "\x45". That's plain ASCII and documented everywhere. -- DaveA