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

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.

主站蜘蛛池模板: 潜江市| 长兴县| 涞水县| 新化县| 南城县| 南投市| 彰化县| 禄丰县| 台江县| 阿合奇县| 高邑县| 镇远县| 兰坪| 万源市| 碌曲县| 闻喜县| 鲁山县| 南丹县| 河北区| 英德市| 驻马店市| 海兴县| 漳平市| 承德县| 开化县| 洛宁县| 兴宁市| 祁阳县| 儋州市| 普格县| 师宗县| 三亚市| 册亨县| 仁布县| 台州市| 陆川县| 来宾市| 凤阳县| 肇东市| 巫山县| 兴仁县|