Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > cz.comp.lang.python > #3097
| X-Received | by 10.98.22.149 with SMTP id 143mr21715346pfw.10.1469561548492; Tue, 26 Jul 2016 12:32:28 -0700 (PDT) |
|---|---|
| X-Received | by 10.36.111.147 with SMTP id x141mr882936itb.6.1469561548389; Tue, 26 Jul 2016 12:32:28 -0700 (PDT) |
| Path | csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.glorb.com!f6no4916676ith.0!news-out.google.com!d130ni15303ith.0!nntp.google.com!f6no4916669ith.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | cz.comp.lang.python |
| Date | Tue, 26 Jul 2016 12:32:28 -0700 (PDT) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=85.119.94.250; posting-account=ZXvM7goAAACp04qjTgMuqtQLZCNV2zSa |
| NNTP-Posting-Host | 85.119.94.250 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <3ad0c1bf-de0f-4645-8a59-8991787bf11a@googlegroups.com> (permalink) |
| Subject | prosím o radu |
| From | ales.hruby33@gmail.com |
| Injection-Date | Tue, 26 Jul 2016 19:32:28 +0000 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| Xref | csiph.com cz.comp.lang.python:3097 |
Show key headers only | View raw
#!/usr/bin/env python
import RPi.GPIO as GPIO
import time
promena=3
GPIO.setmode(GPIO.BCM)
GPIO.setup(4, GPIO.OUT)
while True:
try:
time.sleep(1)
if i == 1:
GPIO.output(4, False)
else:
GPIO.output(4, True)
hlásí to chybu
./test.py
File "./test.py", line 18
^
IndentationError: unexpected unindent
vůbec nemohu najit co to je kdyz ten radek ani neexistuje :-( děkuji
Back to cz.comp.lang.python | Previous | Next — 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