Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #90975
| Path | csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.007 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:code': 0.07; 'bits': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:Help': 0.11; 'python': 0.11; 'jan': 0.12; 'inputs': 0.16; 'integer.': 0.16; 'possible?': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'screen,': 0.16; 'wrote:': 0.18; 'starts': 0.20; 'help.': 0.21; 'input': 0.22; 'header:User-Agent:1': 0.23; 'sort': 0.25; 'values': 0.27; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'high.': 0.31; 'run': 0.32; 'display': 0.35; 'combination': 0.36; 'subject:regarding': 0.36; 'thanks': 0.36; 'list': 0.37; 'displays': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'blank': 0.60; 'back': 0.62; 'times': 0.62; 'show': 0.63; 'high': 0.63; 'sum': 0.64; 'subject: & ': 0.68; 'howard': 0.84; 'received:fios.verizon.net': 0.84; '150': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Terry Reedy <tjreedy@udel.edu> |
| Subject | Re: Help for a newbie regarding code & physical switches |
| Date | Wed, 20 May 2015 14:50:13 -0400 |
| References | <3c0e9762-625e-4740-9717-3ce6dc51df70@googlegroups.com> <mjhc6q$hvt$1@dont-email.me> <c618bb56-11b9-4e3e-a290-4092fa82969c@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | pool-98-114-97-173.phlapa.fios.verizon.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
| In-Reply-To | <c618bb56-11b9-4e3e-a290-4092fa82969c@googlegroups.com> |
| 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> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.182.1432147828.17265.python-list@python.org> (permalink) |
| Lines | 22 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1432147828 news.xs4all.nl 2913 [2001:888:2000:d::a6]:44174 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:90975 |
Show key headers only | View raw
On 5/20/2015 3:54 AM, Howard Spink wrote: > Thanks for your help. I want the python to run automatically after > boot and show a blank white screen, This part if for a RasPy group. > when a combination of GP10 inputs > are HIGH python displays one of 150 JPEGS. Is this possible? Number the n inputs 0 to n-1. Give input i the 'value' of 2**i. Sum the values of the hi inputs to get an integer. (Actually, flip the corresponding bits of an int that starts at 0). Create a list jpeg of jpegs, so that jpeg[k] is the jpeg to display when the corresponding set of inputs are high. > what sort of boot times can I get with Arch? Back to RasPy. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Help for a newbie regarding code & physical switches Howard Spink <howi682@googlemail.com> - 2015-05-19 23:49 -0700
Re: Help for a newbie regarding code & physical switches Christian Gollwitzer <auriocus@gmx.de> - 2015-05-20 09:14 +0200
Re: Help for a newbie regarding code & physical switches Howard Spink <howi682@googlemail.com> - 2015-05-20 00:54 -0700
Re: Help for a newbie regarding code & physical switches alister <alister.nospam.ware@ntlworld.com> - 2015-05-20 08:46 +0000
Re: Help for a newbie regarding code & physical switches Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-05-20 08:17 -0400
Re: Help for a newbie regarding code & physical switches Terry Reedy <tjreedy@udel.edu> - 2015-05-20 14:50 -0400
csiph-web