Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeder1.xsusenet.com!newsfeed.xs4all.nl!newsfeed1.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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:: [': 0.04; 'third-party': 0.04; 'that?': 0.05; 'variables': 0.07; 'subject:Help': 0.11; 'python': 0.11; 'random': 0.14; 'port,': 0.16; 'wrote:': 0.18; 'library': 0.18; 'module': 0.19; 'subject:] ': 0.20; 'email addr:gmail.com>': 0.22; '>': 0.26; 'values': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'received:google.com': 0.35; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'read': 0.60; 'save': 0.62; "you'll": 0.62; 'information': 0.63; 'serial': 0.72; '2015': 0.84; 'subject:skip:S 10': 0.84 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:to :content-type; bh=2ozbe3hbAEPnyBVxv6RaLeYg6Jd8JboRHWTvftAX3Qw=; b=O7uz7KKl28myZ3Fti5BXWJFzxZ10jDhP9yZaf2028kDYD4GdyJ1SxwYxIr0BclsUVf CCZeQHVLxHK9jpPUMF1CqXBnQshD3NNaq967s00e5++NeGaTU4rzrQuJyVJNw587+Mio 6g0eC68Kwrm1w4iy8vuMYCtBudeBs0x8OXTWvRtUPxg4qFlEnksedU6Llp9iMJl+T+8E gWiC/WNXxp/jweqSHcS9ZN5uKQuEJVlo9ysCq6s3KfgET3thlhUtCZ3Lt3ifuM6gyJZl slwcC0alPHLL6amm8WRmOHMEeqjrezWUD8jFzPHGh+k0sqSJD10J3zlXRgLUptmA8ub+ U9sw== MIME-Version: 1.0 X-Received: by 10.43.64.144 with SMTP id xi16mr2078668icb.20.1428422785839; Tue, 07 Apr 2015 09:06:25 -0700 (PDT) In-Reply-To: References: Date: Tue, 7 Apr 2015 10:06:25 -0600 Subject: Re: [SerialConnection] Help From: Ian Kelly To: Python Content-Type: multipart/alternative; boundary=bcaec51dd763bd37f205132498d6 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20 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: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1428422794 news.xs4all.nl 2922 [2001:888:2000:d::a6]:47651 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:88602 --bcaec51dd763bd37f205132498d6 Content-Type: text/plain; charset=UTF-8 On Apr 7, 2015 9:43 AM, "Hugo Caldas" wrote: > > Hi. > > I want to connect to a serial port, read and write the port values with multi threading and save them in random variables in python 3.4. > Where can I found information to do that? You can use the pyserial third-party module to do the serial port communication and the threading module from the standard library for multithreading. You'll have to elaborate on what you mean by "random variables". --bcaec51dd763bd37f205132498d6 Content-Type: text/html; charset=UTF-8

On Apr 7, 2015 9:43 AM, "Hugo Caldas" <hcaldas92@gmail.com> wrote:
>
> Hi.
>
> I want to connect to a serial port, read and write the port values with multi threading and save them in random variables in python 3.4.
> Where can I found information to do that?

You can use the pyserial third-party module to do the serial port communication and the threading module from the standard library for multithreading.

You'll have to elaborate on what you mean by "random variables".

--bcaec51dd763bd37f205132498d6--