GIS 5103 Lab 3 - DeBugging
For this week's lab we were asked to de-bug 3 separate instances of python scripts. For the first script we were asked to work through the code to debug it, the majority of the errors within this code chunk were simple punctuation and capitalization errors The second script was much the same, though errors were more complicated and included issues like an incorrect file path. For the third script, we were asked not to fix the code, but in fact to insert a Try-Except process to allow the code to run without fixing the error. For me, this entailed inserting the try function above code line 13 and then catching the exception after approximately 8 lines My full process for working through the creation of the Try-Except loop can be seen below Python 3.11.10 (main, Sep 20 2024, 18:44:55) [MSC v.1938 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. ========= RESTART: S:/GISProgramming/Module3/Result...