官术网_书友最值得收藏!

Summary

In this chapter, we covered some of the fundamental Python programming concepts that you'll need to understand before you can write effective geoprocessing scripts. We began the chapter with an overview of the IDLE development environment for writing and debugging Python scripts. You learned how to create a new script, edit existing scripts, check for syntax errors, and execute the script. We also covered the basic language constructs including importing modules, creating and assigning variables, if/else statements, looping statements, and the various data-types including strings, numbers, Booleans, lists, dictionaries, and objects. You also learned how to read and write text files.

In the next chapter, you will learn the basic techniques for writing geoprocessing scripts for ArcGIS with Python. You'll learn how to use the embedded Python window in ArcGIS Desktop, import the ArcPy package to your scripts, execute ArcToolbox tools from your scripts, use the help system when writing scripts, use variables to store data, and access the various ArcPy modules.

主站蜘蛛池模板: 上饶县| 马鞍山市| 英超| 海盐县| 望江县| 苏尼特右旗| 汶川县| 鲁甸县| 革吉县| 津市市| 乐亭县| 淅川县| 福鼎市| 石阡县| 怀安县| 黑龙江省| 读书| 五原县| 新竹市| 延寿县| 凉城县| 寿阳县| 沐川县| 哈尔滨市| 分宜县| 加查县| 绥江县| 鹤壁市| 余干县| 互助| 罗平县| 太谷县| 长垣县| 收藏| 海宁市| 依兰县| 博爱县| 绥江县| 西吉县| 乌鲁木齐市| 宁城县|