<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Dear Fernanda,<br>
    <br>
    From you description it seems that you run Python from a command
    line and then insert the code.<br>
    The '...' indicate an indented block. Your second line is a for loop
    that ends with a ':', so the following lines will be indented (they
    are the body of the for loop). You just have to hit 'ENTER' two
    times to make Python clear that you are ready to execute the code
    block. <br>
    The execution will probably fail, if you don't have the file
    "ls_orchid.fasta" in the same directory where you have started your
    Python session.<br>
    <br>
    Best, Markus<br>
    <br>
    <div class="moz-cite-prefix">Am 13.01.2018 um 18:55 schrieb Fernanda
      Trancoso:<br>
    </div>
    <blockquote type="cite"
cite="mid:CANcU_cjTLvVcoH2-u0j0qeKHSj7WdqudHo28fRNOghE-nXVqcg@mail.gmail.com">
      <div dir="ltr">Hello guys,
        <div>I'm trying to do the biopython tutorial and cookbook but i
          got stuck on the "2.4.1 Simple FASTA parsing example". It
          says </div>
        <div><span style="color:rgb(0,0,0);font-family:"Times New
            Roman";font-size:medium"><br>
          </span></div>
        <div><span style="color:rgb(0,0,0);font-family:"Times New
            Roman";font-size:medium">Now try this in Python:</span>
          <pre class="gmail-verbatim" style="margin-left:0ex;margin-right:auto;color:rgb(0,0,0)">from Bio import SeqIO
for seq_record in SeqIO.parse("ls_orchid.fasta", "fasta"):
    print(<a href="http://seq_record.id" moz-do-not-send="true">seq_record.id</a>)
    print(repr(seq_record.seq))
    print(len(seq_record))</pre>
          <div>But from the second line forward the ">>>" turns
            into "..." and I have no idea of what input is missing,
            since I did copy/paste to be sure that i wasn't writing
            something wrong. </div>
          <div>Does anyone knows what might be going wrong?</div>
          <div><br>
          </div>
          <div>Thanks</div>
          -- <br>
          <div class="gmail_signature">
            <div dir="ltr">Fernanda Fontes Trancoso
              <div>Aluna de Graduação em Ciências Biológicas na UFMG</div>
              <div>Iniciação Científica no <a
                  href="http://abelhasufmg.wix.com/lsea" target="_blank"
                  moz-do-not-send="true">Laboratório de Sistemática de
                  Insetos</a></div>
              <div><span style="font-size:12.8px">+55 (31) 9156-6485</span><br>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Biopython mailing list  -  <a class="moz-txt-link-abbreviated" href="mailto:Biopython@mailman.open-bio.org">Biopython@mailman.open-bio.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.open-bio.org/mailman/listinfo/biopython">http://mailman.open-bio.org/mailman/listinfo/biopython</a></pre>
    </blockquote>
    <br>
  </body>
</html>