GIS Programming Module 2: Python Fundamentals

Module 2 in GIS Programming was focused on the fundamentals of Python. For the reading we covered chapter 4 of Paul A. Zandbergen's Python Scripting for ArcGIS Pro. This chapter was incredibly long and dense. The sheer number of concepts that have to be memorized is vast and complicated. Once the reading portion of module 2 was completed I started on the lab portion of the module. In the lab we created a script using the concepts from chapter 4 in the textbook. The script began by taking my full name as a text string. It then processes this string to separate the individual names into a list of words. From this list, the script specifically identifies and prints out the last name, showcasing basic string and list manipulation techniques. The second part simulated a simple dice game involving a predefined set of players. For each player, the script calculated a unique target score based on the length of their name. It then generated a random "dice roll" for them. The ...