<html>
  <head>
    <meta content="text/html; charset=iso-8859-2"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>except:</p>
    <p>    pass</p>
    <p><br>
    </p>
    <p>To je jedna z tých konštrukcikí ktoré by som zakázal. Alebo dal
      povinnosť vypracovať 10 stranovu esej o tom, prečo to chce niekto
      použiť a aky to bude mať prinos pre pestovanie bananov na pobreží
      amazonky.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 26.07.2016 21:41, Honza Král wrote:<br>
    </div>
    <blockquote
cite="mid:CADoCwr1o=N=MZJV0K_RmKqSCS6SQv+yx5KuPeo4vbAQfJQ5nOQ@mail.gmail.com"
      type="cite">
      <p dir="ltr">Statement 'try' lze pouzit jen v kombinaci s 'except'
        nebo 'finally'. Na posledni radku staco doplnit:<br>
        except:<br>
            pass</p>
      <p dir="ltr">Tak aby except zacinalo stejne odsazene jako try a
        pass o 4 mezery dale</p>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Jul 26, 2016 21:38, "starenka ."
          <<a moz-do-not-send="true"
            href="mailto:starenka0@gmail.com">starenka0@gmail.com</a>>
          wrote:<br type="attribution">
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <p dir="ltr">zkus smazat uplne vsechno od konce souboru po
              tu posledni zavorku, zrejme ram mas nekde
              tabulatory/mezery navic</p>
            <p dir="ltr">'aknerats'[::-1]</p>
            <div class="gmail_extra"><br>
              <div class="gmail_quote">On Jul 26, 2016 9:35 PM, <<a
                  moz-do-not-send="true"
                  href="mailto:ales.hruby33@gmail.com" target="_blank">ales.hruby33@gmail.com</a>>
                wrote:<br type="attribution">
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">#!/usr/bin/env
                  python<br>
                  <br>
                  import RPi.GPIO as GPIO<br>
                  import time<br>
                  <br>
                  promena=3<br>
                  GPIO.setmode(GPIO.BCM)<br>
                  GPIO.setup(4, GPIO.OUT)<br>
                  while True:<br>
                  <br>
                      try:<br>
                          time.sleep(1)<br>
                  <br>
                          if i == 1:<br>
                                  GPIO.output(4, False)<br>
                          else:<br>
                                  GPIO.output(4, True)<br>
                  <br>
                  <br>
                  hlásí to chybu<br>
                  ./test.py<br>
                    File "./test.py", line 18<br>
                  <br>
                                            ^<br>
                  IndentationError: unexpected unindent<br>
                  <br>
                  vůbec nemohu najit co to je kdyz ten radek ani
                  neexistuje :-( děkuji<br>
                  _______________________________________________<br>
                  Python mailing list<br>
                  <a moz-do-not-send="true" href="mailto:python@py.cz"
                    target="_blank">python@py.cz</a><br>
                  <a moz-do-not-send="true"
                    href="http://www.py.cz/mailman/listinfo/python"
                    rel="noreferrer" target="_blank">http://www.py.cz/mailman/listinfo/python</a><br>
                  <br>
                  Visit: <a moz-do-not-send="true"
                    href="http://www.py.cz" rel="noreferrer"
                    target="_blank">http://www.py.cz</a><br>
                </blockquote>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            Python mailing list<br>
            <a moz-do-not-send="true" href="mailto:python@py.cz">python@py.cz</a><br>
            <a moz-do-not-send="true"
              href="http://www.py.cz/mailman/listinfo/python"
              rel="noreferrer" target="_blank">http://www.py.cz/mailman/listinfo/python</a><br>
            <br>
            Visit: <a moz-do-not-send="true" href="http://www.py.cz"
              rel="noreferrer" target="_blank">http://www.py.cz</a><br>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:python@py.cz">python@py.cz</a>
<a class="moz-txt-link-freetext" href="http://www.py.cz/mailman/listinfo/python">http://www.py.cz/mailman/listinfo/python</a>

Visit: <a class="moz-txt-link-freetext" href="http://www.py.cz">http://www.py.cz</a></pre>
    </blockquote>
    <br>
  </body>
</html>