Module 1: Python Environments and Flowcharts
Python Environments and Flowcharts
First week of GIS 4102 - GIS Programming!
This first week we went over the basics of Python, Python Editors, and Flowcharting.
Flowchart
Here is my flowchart I created on the Diagrams app to convert radians to degrees.
Which I then ran through IDLE to make sure it was correct.
The Zen of Python
What I believe the “The Zen of Python” by Tim Peters means is that clean, clear, and concise is the goal of Python. Code that can be read easily is better than a clunky mess of code that takes awhile to untangle. The more “explicit, simple, flat, sparse” the code is the higher the “readability.” Lower case or uppercase shouldn’t break code and errors should be obvious. Python is standardized coding so it can be understood across different disciplines and languages which is why it is favored by scientists and mathematicians across the world. Your python code should be easily explained and implemented, anything complicated should be reworked. Comments and namespaces should always be included.
Notes
After going through the course exercise, the exercises in the books, and with my previous experience with Python I did not have any difficulties with the Lab assignment.
I did go through the process of adding the shortcut for IDLE explained in the Zandbergen text on Citrix and my home desktop.
I also did the Spyder and PyCharm on my home desktop but had some issues with the Spyder shortcut not working like the text advises and PyCharm not having the same interface and not working like its described in the text anymore. I’m still troubleshooting through google/other tech forms, so I have not attempted those activities on Citrix yet.
Comments
Post a Comment