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

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
主站蜘蛛池模板: 石首市| 呼图壁县| 自贡市| 朝阳县| 五大连池市| 灵川县| 新余市| 嫩江县| 门源| 临泉县| 大埔区| 砚山县| 邳州市| 江达县| 新沂市| 衡山县| 五原县| 巴塘县| 镇安县| 龙井市| 高安市| 苏尼特右旗| 西乌| 锡林郭勒盟| 罗源县| 岳阳县| 镇沅| 九江市| 防城港市| 新竹县| 白银市| 涿州市| 武强县| 时尚| 沈阳市| 高台县| 林州市| 辰溪县| 福州市| 都匀市| 东山县|