Tuesday, June 12, 2018

Module 4: GIS Programing






Above are the results of the scripts this week.  This week we learned to recognize syntax errors and exceptions, syntax errors show up when the script is checked, exceptions are not caught by a check of the script but will result in an error message when the script is run.  We practiced using debugging by stepping through code, adding print statements to check progress in a script, commenting out code to skip parts and we "caught" "thrown" exception errors with try-except statements.  We also learned that syntax errors are errors with the way the script is written, and that logical errors do not affect the syntax so for this lab they were spelling errors and file location errors.  

No comments:

Post a Comment