Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!rt.uk.eu.org!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: UNSURE 0.227 X-Spam-Level: ** X-Spam-Evidence: '*H*': 0.78; '*S*': 0.23; '22,': 0.09; 'kumar': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'gpg': 0.16; 'wrote:': 0.18; 'subject:Issue': 0.19; 'solution.': 0.20; 'cc:addr:python.org': 0.22; 'necessary.': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'post': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'asap.': 0.31; 'received:google.com': 0.35; 'possible': 0.36; 'url:org': 0.36; 'should': 0.36; 'from:charset:utf-8': 0.61; '8bit%:21': 0.69; 'phil': 0.84; 'subject:Port': 0.91; 'subject:Serial': 0.91; 'to:addr:yahoo.co.in': 0.91; 'old.': 0.93; 'url:tk': 0.95; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=aQhTwjH7gzOonUM17pwGW/W0S1RhUScUaJrBc0Zkd5s=; b=ywTi8O3ibPkVF+Qa8r4Atm8WKiAaRsed6rru9lGAIJLk0hCPitBqM6AkbdIdmEI+0M OQ6KW6w+cdL/K5QvSuBhZE2JrkLuoYQmX8kmgiibpeAdOwyAZg3RMsjypY0+KItPs2p2 LnB61E4QLNBLyE2QnTuoUUvnUaMXCkFkNYp0aH6plY3Wa2/PnECEEMXVIXiv7oJG7fLz CSqvdYGZWZhiu0WUAYRalKu0euw9IP1yBV5SzrOUgBl4KrKAJS6Zw+NOwxTECFmDbz1j ZYlxC44uv1Mwh/RM/ahLxMshxcttbjD3aD0GBpDTPybymsx5vCSad7x5yAUa5QFpINRP Ppnw== X-Received: by 10.50.50.71 with SMTP id a7mr21556348igo.14.1366644695938; Mon, 22 Apr 2013 08:31:35 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1366623248.70365.YahooMailClassic@web190503.mail.sg3.yahoo.com> References: <1366623248.70365.YahooMailClassic@web190503.mail.sg3.yahoo.com> From: =?UTF-8?B?Q2hyaXMg4oCcS3dwb2xza2HigJ0gV2Fycmljaw==?= Date: Mon, 22 Apr 2013 17:31:15 +0200 Subject: Re: Serial Port Issue To: chandan kumar Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Tue, 23 Apr 2013 11:03:18 +0200 Cc: python-list@python.org 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1366707799 news.xs4all.nl 2218 [2001:888:2000:d::a6]:53098 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44170 On Mon, Apr 22, 2013 at 11:34 AM, chandan kumar w= rote: > Python Ver: 2.5 Old. Please upgrade to 2.7.4 ASAP. > ser=3Dser=3Dserial.Serial(port=3D21,baudrate=3D9600) That double `ser=3D` thing is not necessary. It should only be `ser =3D serial.Serial(port=3D21, baudrate=3D9600)`. Look at Phil Birkelbach=E2=80=99s post for a possible solution. -- Kwpolska | GPG KEY: 5EAAEA16 stop html mail | always bottom-post http://asciiribbon.org | http://caliburn.nl/topposting.html