# Lesson 2: Python and programming basics

Source:

{% embed url="<https://www.e-education.psu.edu/geog485/node/235>" %}

* [Lesson 2 Overview](https://www.e-education.psu.edu/geog485/node/233)
* [Lesson 2 Checklist](https://www.e-education.psu.edu/geog485/node/315)
* [2.1 More Python fundamentals](https://www.e-education.psu.edu/geog485/node/237)
* [2.1.1 Lists](https://www.e-education.psu.edu/geog485/node/238)
* [2.1.2 Loops](https://www.e-education.psu.edu/geog485/node/239)
* [2.1.3 Decision structures](https://www.e-education.psu.edu/geog485/node/240)
* [2.1.4 String manipulation](https://www.e-education.psu.edu/geog485/node/314)
* [2.1.5 Putting it all together](https://www.e-education.psu.edu/geog485/node/242)
* [2.2 Troubleshooting and getting help](https://www.e-education.psu.edu/geog485/node/243)
* [2.2.1 Potential problems and quick diagnosis](https://www.e-education.psu.edu/geog485/node/244)
* [2.2.2 Using the PyScripter debugger](https://www.e-education.psu.edu/geog485/node/316)
* [2.2.3 Printing messages from the Esri geoprocessing framework](https://www.e-education.psu.edu/geog485/node/246)
* [2.2.4 Other sources of help](https://www.e-education.psu.edu/geog485/node/247)
* [Lesson 2 Practice Exercises](https://www.e-education.psu.edu/geog485/node/248)
* [Project 2: Batch reprojection tool for vector datasets](https://www.e-education.psu.edu/geog485/node/252)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.pqtkha.com/programming/technology/python/geog-485-gis-programming-and-software-development/lesson-2-python-and-programming-basics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
