On Thu, 24 Mar 2011 09:22 -0600, "Susana Iraiis Delgado Rodriguez"
<susana.delgad...@utzmg.edu.mx> wrote:
> #This block is wrong, I think here is the problem
>         if os.path.exists(shx):
>             print 'El archivo ' +shx +' existe'
>         else:
>             log.write('No existe el archivo ' +shx + "\n")
>         if os.path.exists(dbf):
>             print 'El archivo ' +dbf +' existe'
>             log.write('No existe el archivo ' +dbf + "\n")

I don't know about the rest, but you're missing an "else:" between the
last two lines.

-- 
Tom Zych / freethin...@pobox.com
"Because if they didn't vote for a lizard," said Ford, "the wrong lizard
might get in." -- DNA
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to