- ArcPy and ArcGIS:Geospatial Analysis with Python
- Silas Toms
- 152字
- 2021-07-23 20:23:06
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
推薦閱讀
- C# 7 and .NET Core Cookbook
- Python爬蟲(chóng)開(kāi)發(fā):從入門(mén)到實(shí)戰(zhàn)(微課版)
- JavaScript語(yǔ)言精髓與編程實(shí)踐(第3版)
- Visual Basic程序設(shè)計(jì)(第3版):學(xué)習(xí)指導(dǎo)與練習(xí)
- Apache Karaf Cookbook
- Java Web應(yīng)用開(kāi)發(fā)技術(shù)與案例教程(第2版)
- MongoDB權(quán)威指南(第3版)
- Mastering Linux Network Administration
- Learning OpenCV 3 Computer Vision with Python(Second Edition)
- SQL 經(jīng)典實(shí)例
- Regression Analysis with Python
- 計(jì)算思維與Python編程
- Building Microservices with .NET Core 2.0(Second Edition)
- C++ Windows Programming
- HTML5+CSS3+JavaScript案例實(shí)戰(zhàn)