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

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
主站蜘蛛池模板: 盐城市| 安远县| 清水河县| 博乐市| 思南县| 耒阳市| 康马县| 金阳县| 万年县| 安国市| 日土县| 平阴县| 日土县| 霍邱县| 克什克腾旗| 独山县| 响水县| 攀枝花市| 新建县| 聂拉木县| 芦溪县| 两当县| 肥西县| 屯门区| 铜山县| 桑日县| 香河县| 襄城县| 页游| 徐闻县| 石城县| 鄂州市| 云安县| 龙里县| 祥云县| 库车县| 保定市| 高安市| 肥西县| 民权县| 泰来县|