Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.mixmin.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.05; ':-)': 0.06; '21,': 0.09; 'to:addr:comp.lang.python': 0.09; '12:59': 0.16; 'cc:addr:python-list': 0.16; 'meant': 0.17; 'wrote:': 0.18; 'thanks,': 0.18; 'help.': 0.19; 'cc:no real name:2**0': 0.20; 'header:In-Reply-To:1': 0.22; 'cc:2**0': 0.24; 'received:209.85.220': 0.27; 'cc:addr:python.org': 0.29; 'nov': 0.29; 'pm,': 0.29; 'example': 0.29; 'message-id:@gmail.com': 0.33; 'probably': 0.34; 'subject:/': 0.35; 'subject:with': 0.36; 'charset:us-ascii': 0.37; 'received:192': 0.37; 'received:google.com': 0.37; 'using': 0.38; 'received:209.85': 0.38; 'should': 0.39; 'subject: (': 0.40; 'received:209': 0.40; 'received:192.168': 0.40; 'header:Message-Id:1': 0.62; 'confirm': 0.72; 'subject:Serial': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=32hKhPR1/5nbYAKm0jRtca6piFVAxYHJEJyO3anmPfQ=; b=I5LcUz6nnvYx/lr8UDtwnZc3CbM1ccNQcaMDfN4tnyXu3t9diF0SH4Pu63f2II97lB sS59CGW1+UZNSXEVqyrQhGTOxQi0fq8js1pGu2CYx9PvsBbUs9WA5JvUlBTpd4+JECxf kDFDC8TJx/ZnulTxFVY2vj6EmNSDOKvxKfVBU= Subject: Re: Non-POSIX parity (mark/space) with Python-Serial on Linux. Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: David Riley In-Reply-To: <5536811.2361.1321898387975.JavaMail.geo-discussion-forums@yqcm23> Date: Mon, 21 Nov 2011 13:12:50 -0500 Content-Transfer-Encoding: quoted-printable References: <27511132.925.1321884055247.JavaMail.geo-discussion-forums@yqnf38> <2723247.1219.1321892899941.JavaMail.geo-discussion-forums@yqzz20> <22753805.1034.1321894337412.JavaMail.geo-discussion-forums@yqdr22> <5536811.2361.1321898387975.JavaMail.geo-discussion-forums@yqcm23> To: comp.lang.python@googlegroups.com X-Mailer: Apple Mail (2.1251.1) 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1321899174 news.xs4all.nl 6948 [2001:888:2000:d::a6]:60579 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16038 On Nov 21, 2011, at 12:59 PM, Matthew Lenz wrote: > Thanks, this will be a great help. >=20 > Just wanted to confirm that you meant to use [ .. for x in ord_str] in = the example conversion? Got a TypeError using the received_str. Yes, I probably should have double-checked that. ord_str is indeed what = I meant. :-) - Dave