Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'argument': 0.05; 'string.': 0.05; 'subject:Python': 0.06; 'imply': 0.09; 'cc:addr :python-list': 0.11; 'integer,': 0.16; 'subject:PySerial': 0.16; 'travis': 0.16; 'exception': 0.16; 'wrote:': 0.18; 'seems': 0.21; 'example': 0.22; 'cc:addr:python.org': 0.22; '31,': 0.24; 'cc:2**0': 0.24; 'sort': 0.25; 'header:In-Reply-To:1': 0.27; 'dec': 0.30; 'statement': 0.30; 'message-id:@mail.gmail.com': 0.30; 'but': 0.35; 'received:google.com': 0.35; 'example,': 0.37; 'pm,': 0.38; 'rather': 0.38; 'most': 0.60; 'provide': 0.64; 'finally': 0.65; 'to:addr:gmail.com': 0.65; 'subject:. ': 0.67; 'to:addr:nobody': 0.96; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=5fJN+dwPv6dHOUvofhMQDqT43IFc/yWINO3tb7UumP0=; b=T9WWTsrC9vvymY6RAKjF1y6Gk1N3cyobpSJ8Eun3kDwFPsLLomrOY7oBTMp3fXvdiV 3IAfzoKC+Z6MFOJQAMKuFVa6Ff/VJ0q2AjNkAunoJNMrVhp7dtlPWzjDfVwBzKADhyIW sAYOR0vNr9iKzuQgvplQ13O0u6RCZcZ39zMNLuP+ISah2Q8FokjpAeZc1dGloOME9SGY XSNdfVOIToareJyQgoHfnInD4szUOAgZP2DnEb10iKGccuTpP0+IK26UUqo8w++gEwod tspbUUP55ZOiwEqklgHniJkb3rSjOnmonvxNpmC+vAs9cnLaa5z0gyZAvAJvUWO3oORd 0vhA== X-Received: by 10.49.24.211 with SMTP id w19mr130615242qef.9.1388558655235; Tue, 31 Dec 2013 22:44:15 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Devin Jeanpierre Date: Tue, 31 Dec 2013 22:43:35 -0800 Subject: Re: PySerial for Python 2 vs. Python 3 To: Travis McGee Content-Type: text/plain; charset=UTF-8 Cc: "comp.lang.python" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1388558657 news.xs4all.nl 2867 [2001:888:2000:d::a6]:37153 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62948 On Tue, Dec 31, 2013 at 10:39 PM, Travis McGee wrote: > Anyway, I finally got it installed, but when I try to use a statement of the > sort ser.write("string") I get an exception which seems to imply that the > argument needs to be an integer, rather than a string. You will get the most help if you provide a minimal, self-contained, runnable example, and an example of its exact output. -- Devin