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

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
主站蜘蛛池模板: 法库县| 公安县| 罗源县| 来凤县| 和硕县| 佛冈县| 岐山县| 潮州市| 舒城县| 西乌| 右玉县| 中方县| 皋兰县| 平南县| 绥滨县| 新源县| 舞钢市| 怀来县| 聂拉木县| 中宁县| 衡山县| 张家界市| 安多县| 朔州市| 甘谷县| 广安市| 张家口市| 栖霞市| 昂仁县| 金溪县| 小金县| 梅河口市| 密云县| 天气| 都江堰市| 洛浦县| 科技| 凤阳县| 方山县| 久治县| 抚松县|