Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > cz.comp.lang.python > #3100
| Path | csiph.com!news.mixmin.net!news.unit0.net!news.netfront.net!not-for-mail |
|---|---|
| From | Petr Messner <petr.messner@gmail.com> |
| Newsgroups | cz.comp.lang.python |
| Subject | Re: [python] prosím o radu |
| Date | Tue, 26 Jul 2016 21:56:28 +0200 |
| Organization | Netfront http://www.netfront.net/ |
| Lines | 47 |
| Message-ID | <mailman.88.1469567149.13201.python@py.cz> (permalink) |
| References | <3ad0c1bf-de0f-4645-8a59-8991787bf11a@googlegroups.com> <a627841e-4341-4268-8663-990aa44e3c0f@googlegroups.com> |
| NNTP-Posting-Host | 194.228.3.217 |
| Mime-Version | 1.0 (1.0) |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | adenine.netfront.net 1469592359 73807 194.228.3.217 (27 Jul 2016 04:05:59 GMT) |
| X-Complaints-To | news@netfront.net |
| NNTP-Posting-Date | Wed, 27 Jul 2016 04:05:59 +0000 (UTC) |
| To | Konference PyCZ <python@py.cz> |
| Received-SPF | pass (Address passes the Sender Policy Framework) SPF=MAILFROM; sender=petr.messner@gmail.com; remoteip=::ffff:74.125.82.45; remotehost=; helo=mail-wm0-f45.google.com; receiver=hugo.zagamma.cz; |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-transfer-encoding:mime-version:subject:message-id:date :references:in-reply-to:to; bh=91+0lGE51uMI9jKE+bs51zxMBfpB5zIPOoNjN5w9Ny0=; b=A2DoIIvxkKRImFSX/AsGEuT0yS0vTdBK7IrUQva6MHzg8/VqBmRFXdtqpogYF6gt4f KOPuSSD30rBprBFQrAiZmLX8+Q1xBvE991NAwYWPCFtO9pjtaDyRQS1JPSunHydqHm/r YzfHIwQUkThoqZhzm9UIxp3DUfDDfpWCZhjqxO/gWfmnXy2p9wx19Cbk2z9vrvHA/BbF q4EwCjAPV6/0EvH1CExkSQYeLh5+hVdB+uVHR7H0RKma7xpm1OKVsvX8FY5HopIXomcY 7BE6+4FHArj3y9306PalCuiEZaF2iF/IrmrVtJCCeS/IcernV1a21mkfuAzCWBtCBI06 oL5Q== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:references:in-reply-to:to; bh=91+0lGE51uMI9jKE+bs51zxMBfpB5zIPOoNjN5w9Ny0=; b=D6kBmfWbUBoeE2Ald2a2zbdQpC/j/52hYJqKEahfabCPqHbW435iqOGuIZSwV7bTJ0 UEJ1vs1Vn22oQ4ftWZ/hSqtVQCVU3BgfSimjagEDNfm5fSaPo/iUOXaOESlFNzWERpKD x7WKXUPW714VQMlfarPFi/eFkEDb4YmyGi0FgI8SwCAemdXBN/TOGPd2ItZOBz6bN4de x8aapNlmvBJpEOS2CoUaVkiSr52vTXMNFnBX0iSEdilaNLTRCLyLWTucSVhxlwK+IbPp 7vFjVpaID0mmjt/fdgVX5j6dmGqjynGdEKxWxp2UAsGGI/1i/vGVAhGiEbiAb1uGndWQ dhww== |
| X-Gm-Message-State | AEkooutAj6wW/2LYOsztanVCwQHCjJagYdII1yGO+IQZSyJlc6QMckIf+Rajum43p3IbSA== |
| X-Received | by 10.194.16.65 with SMTP id e1mr24862873wjd.143.1469562991014; Tue, 26 Jul 2016 12:56:31 -0700 (PDT) |
| Old-Return-Path | <petr.messner@gmail.com> |
| In-Reply-To | <a627841e-4341-4268-8663-990aa44e3c0f@googlegroups.com> |
| X-Mailer | iPhone Mail (13F69) |
| X-BeenThere | python@py.cz |
| X-Mailman-Version | 2.1.20 |
| Precedence | list |
| List-Id | Konference PyCZ <python.py.cz> |
| List-Unsubscribe | <http://www.py.cz/mailman/options/python>, <mailto:python-request@py.cz?subject=unsubscribe> |
| List-Archive | <http://www.py.cz/pipermail/python/> |
| List-Post | <mailto:python@py.cz> |
| List-Help | <mailto:python-request@py.cz?subject=help> |
| List-Subscribe | <http://www.py.cz/mailman/listinfo/python>, <mailto:python-request@py.cz?subject=subscribe> |
| Xref | csiph.com cz.comp.lang.python:3100 |
Show key headers only | View raw
To except patří k tomu try, ne k tomu if-else. Tak to odsaď ještě o úroveň vlevo. Petr Messner 26. 7. 2016 v 21:54, Aleš Hrubý <ales-hruby@email.cz>: > oprava > #!/usr/bin/env python > > import RPi.GPIO as GPIO > import time > > promena=3 > GPIO.setmode(GPIO.BCM) > GPIO.setup(4, GPIO.OUT) > i=0 > while True: > > > time.sleep(1) > > try: > if i == 1: > GPIO.output(4, False) > i=0 > else: > GPIO.output(4, True) > i=1 > except: > pass > > ./test.py > File "./test.py", line 22 > except: > ^ > SyntaxError: invalid syntax > > > _______________________________________________ > Python mailing list > python@py.cz > http://www.py.cz/mailman/listinfo/python > > Visit: http://www.py.cz --- news://freenews.netfront.net/ - complaints: news@netfront.net ---
Back to cz.comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
prosím o radu ales.hruby33@gmail.com - 2016-07-26 12:32 -0700
Re: prosím o radu Aleš Hrubý <ales-hruby@email.cz> - 2016-07-26 12:53 -0700
Re: prosím o radu Aleš Hrubý <ales-hruby@email.cz> - 2016-07-26 12:54 -0700
Re: [python] prosím o radu Petr Messner <petr.messner@gmail.com> - 2016-07-26 21:56 +0200
Re: [python] prosím o radu Matěj Cepl <mcepl@cepl.eu> - 2016-07-29 09:35 +0200
csiph-web