"Susana Iraiis Delgado Rodriguez" <susana.delgad...@utzmg.edu.mx> wrote

I'm writing a python script to validate if files with extension .prj exist, if they exist it should write 1 or 0 into an excel cell. I've working to do this properly, but I'm not getting the results I need. The script doesn't find all the files, is like the files don't exist but they exist, besides I think is just reading some of the files that are in C:\Python 26. I really
need a hand on this.

I haven't checked the code thoroughly but it looks like you should
maybe put in a print statement to print the root to check it is going
where you think it should.


HTH,


--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to