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

Chapter 2. Configuring the Python Environment

In this chapter, we will configure both Python and our computer to work together to execute Python scripts. Path variables and environment variables will be configured to ensure that import statements work as expected, and that scripts run when they are clicked on. The structure of the Python folder will be discussed, as will the location of the ArcPy module within the ArcGIS folder structure. We will also discuss Integrated Development Environments (IDEs), programs designed to assist in code creation and code execution, and compare and contrast existing IDEs to determine what benefits each IDE can offer when scripting Python code.

This chapter will cover:

  • The location of the Python interpreter, and how it is called to execute a script
  • Adjusting the computer's environment variables to ensure correct code execution
  • Integrated Development Environments
  • Python's folder structure, with a focus on where modules are stored
主站蜘蛛池模板: 五莲县| 崇礼县| 三河市| 泽库县| 绵竹市| 晋中市| 宝清县| 洪雅县| 大化| 宜丰县| 双牌县| 名山县| 合山市| 祁阳县| 盐边县| 遵义市| 罗江县| 罗江县| 博爱县| 莱芜市| 固阳县| 无锡市| 镇安县| 子洲县| 安乡县| 广德县| 子洲县| 凤冈县| 兰溪市| 丰台区| 汨罗市| 黄浦区| 安顺市| 天津市| 赤壁市| 门头沟区| 大荔县| 青岛市| 时尚| 梁平县| 海门市|