Friday, May 15, 2020

Create Your Own File Path


In this lab exercise, we executed a pre-written .py file using the Spyder IDE in order to create our file folders for the GIS Programming class.  Instead of having to create eight basic folders with three folders in each of those, we simply ran a program and voila! The result of my code execution is shown below.


The lab for this week was pretty straightforward and gave me more confidence with the idea of running scripts to automate tasks. I have never used Python before so this was a great lesson to familiarize myself with the very basics of a few Python interfaces and feel the excitement of seeing how code is executed. When I first saw the code for creating new folders in the S:\, I have to admit I felt intimidated, but seeing it in action makes me want to understand it better so that I may create programs with similar, or even greater, capabilities.

I found the idea of pseudo code to be very helpful for laying out a plan to more successfully complete code. I will use this concept in the future as a way of organizing my thoughts before beginning to solve complex problems with code.

No comments:

Post a Comment