Friday, July 25, 2014

GIS Programming Module 9: Debugging

For this week's assignment, we were given three scripts and had to debug and handle the errors in each of them. For the first two, we just had to locate the errors and modify the script so it ran correctly. This was a bit tedious, working through each line, but wasn't too horrible. 

For the third script, we just had to make it run by adding try-except statements to it. After a little trial and error, I managed to get it to work without too much stress. 

This was a surprisingly fun exercise. After getting my undergrad in journalism, I really enjoy reading/editing things. While this is a bit different, it was the same principle so I made the best of it. 

Here's the results from each script:




No comments:

Post a Comment