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

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.

主站蜘蛛池模板: 佛教| 屯留县| 化州市| 太康县| 公安县| 齐河县| 灵川县| 襄垣县| 南充市| 庆城县| 八宿县| 天等县| 资兴市| 琼海市| 肇州县| 靖州| 卓尼县| 怀远县| 辽阳市| 边坝县| 普兰店市| 镇安县| 武冈市| 卓资县| 措美县| 黄大仙区| 恩平市| 肇州县| 井冈山市| 拜城县| 北碚区| 绍兴县| 玉山县| 水城县| 苍南县| 绥宁县| 巨野县| 福泉市| 大港区| 莎车县| 翁源县|