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


Groups > comp.lang.python > #102238

Re: Python 3.5.1

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Joel Goldstick <joel.goldstick@gmail.com>
Newsgroups comp.lang.python
Subject Re: Python 3.5.1
Date Fri, 29 Jan 2016 11:24:31 -0500
Lines 23
Message-ID <mailman.93.1454084674.2338.python-list@python.org> (permalink)
References <CAKCpHkM+PmfRhcjJkVpHgouyE5v6V3WsCTKnb2DXsbjVS=b+KA@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de Hx1Vobxh8euQVBO+Lfm+XQcqK/yuHKmx+j5OheuPxN5A==
Return-Path <joel.goldstick@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'received:209.85.223': 0.03; 'subject:Python': 0.05; 'correct.': 0.07; 'welcome.': 0.07; 'cc:addr:python-list': 0.09; 'bytes)': 0.09; 'command.': 0.09; 'python': 0.10; 'jan': 0.11; 'def': 0.13; '2016': 0.16; 'command,': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'temp': 0.16; 'wrote:': 0.16; 'bytes': 0.18; 'email addr:gmail.com&gt;': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'port.': 0.22; 'am,': 0.23; 'import': 0.24; 'plain': 0.24; 'header:In-Reply-To:1': 0.24; 'fri,': 0.27; 'message- id:@mail.gmail.com': 0.27; 'indentation': 0.29; "i'm": 0.30; 'print': 0.30; 'url:mailman': 0.30; 'code': 0.30; 'error.': 0.31; 'problem': 0.33; 'url:python': 0.33; 'url:listinfo': 0.34; 'received:google.com': 0.35; 'sent:': 0.35; 'text': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'subject:: ': 0.37; 'thanks': 0.37; 'release': 0.37; 'received:209': 0.38; 'hi,': 0.38; 'url:mail': 0.40; 'your': 0.60; 'hope': 0.61; 'day': 0.67; 'serial': 0.70; '3.5.1': 0.84; 'to:none': 0.91; 'joel': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=ysbHD5VVbhvZshlrjLEnsQ2rK5ARN7PD590Xyn0pCq4=; b=db7lzbJtoKgpLjlnNVAZKwapnSU5W4rjb/vgS4fLGCDTimQyDGPHWEgQVUYIdI2Red 6lRU+WGdxRTdqbXAjAxozJvBaqT79ijiQDm/3NxHhboouegTGP3ZmDXLpkaBPNStlnNB /7IEernYXghVfUog5YDbFYkbQtakU0dgsA1/xRpzKc+q7OLNDjL7oPaRCMFuEQrwRMHd VcF4czm4tJdSGin4Rgpt1UTZuO0mgybJwSmj0N+vJPlC8sOWc79lgmGriuU/KSNtFhPD 8juWzSjzjLjM4AtW1N+VGmEpNZy+RmeeNR0f075o7qrjq9k68QXcbTRLahFObuKwO2ei TY+g==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc:content-type; bh=ysbHD5VVbhvZshlrjLEnsQ2rK5ARN7PD590Xyn0pCq4=; b=LzSVa+WVhi68cLWm/XE8IR9GEbA4mTQzmqnpvbJepJ41Q/pSHhNA3QMpuRf3wTnyyT m0dus6tS2I1gnLShGyOJ9monqFWufr/arS+bJcwoVX9yBcCub0/YxXrCr7+4eQsbUCTg XPlq1eqczHK5xkrdQMyMXGDNtMgeJoIBZol1J3R/5FIaOKtelXHZkG+WBn+sETxBrbH9 NhI/YEpddlvA3yfvGOe6Br3hRqm+ZmJwhqxsgcOHdWHQFzQf/cG55nGiHg2ni26JVFK9 VcUUQ/QXfuA9ollzfDnmlYxNfIviY36WhnZPYtDrShbvaB1qjp6PZ+PZXA98ar1XK2OX 4I2Q==
X-Gm-Message-State AG10YOQUWVlIvVtEfXXQuQSf9nvpUmik6GoJJ9rHVQO7zALy3Qr9C6YpwSOineRi2P1qL/TcZ+qnjj3Gkf4fuA==
X-Received by 10.107.62.5 with SMTP id l5mr10986620ioa.180.1454084671609; Fri, 29 Jan 2016 08:24:31 -0800 (PST)
In-Reply-To <CAKCpHkM+PmfRhcjJkVpHgouyE5v6V3WsCTKnb2DXsbjVS=b+KA@mail.gmail.com>
X-Content-Filtered-By Mailman/MimeDel 2.1.20+
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:102238

Show key headers only | View raw


On Fri, Jan 29, 2016 at 10:35 AM, Joel Cotto <joelcotto23@gmail.com> wrote:

> Hi,
>
> I'm using the new release of python ver 3.5.1 but i got problem using its
> code to communicate w/ serial port. I'm receiving port error. Hope you can
> guide me if there are change made in the command. Thanks and Good Day
>
> import serial ser = 0 def init_serial(): COMNUM = 1 global ser ser =
> serial.Serial() ser.baudrate = 9600 ser.port = COMNUM - 1 ser.timeout = 10
> ser.isOpen() if ser.isOpen(): print ('Open: ' + ser.portstr) init_serial()
> temp = input('Enter SCL command, hit enter:\r\n') ser.write(temp) while 1:
> bytes = ser.readline() print ('You sent: ' + bytes)
> --
> https://mail.python.org/mailman/listinfo/python-list
>

Welcome.  Please repost using plain text so that your indentation is
correct.  Your code is unreadable as is

-- 
Joel Goldstick
http://joelgoldstick.com/stats/birthdays

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Python 3.5.1 Joel Goldstick <joel.goldstick@gmail.com> - 2016-01-29 11:24 -0500

csiph-web