Re: [Tutor] Can't loop thru file and don't see the problem

2009-12-04 Thread Christian Witts
Roy Hinkelman wrote: Thank you very much! I had forgotten that unix URLs are case sensitive. Also, I changed my 'For' statements to your suggestion, tweaked the exception code a little, and it's working. So, there are obviously several ways to open files. Do you have a standard practice, or

Re: [Tutor] Can't loop thru file and don't see the problem

2009-12-03 Thread Roy Hinkelman
Thank you very much! I had forgotten that unix URLs are case sensitive. Also, I changed my 'For' statements to your suggestion, tweaked the exception code a little, and it's working. So, there are obviously several ways to open files. Do you have a standard practice, or does it depend on the fil

Re: [Tutor] Can't loop thru file and don't see the problem

2009-12-03 Thread Christian Witts
Roy Hinkelman wrote: Your list is great. I've been lurking for the past two weeks while I learned the basics. Thanks. I am trying to loop thru 2 files and scrape some data, and the loops are not working. The script is not getting past the first URL from state_list, as the test print shows

[Tutor] Can't loop thru file and don't see the problem

2009-12-03 Thread Roy Hinkelman
Your list is great. I've been lurking for the past two weeks while I learned the basics. Thanks. I am trying to loop thru 2 files and scrape some data, and the loops are not working. The script is not getting past the first URL from state_list, as the test print shows. If someone could point me