> For the complete documentation index, see [llms.txt](https://docs.skydeck.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.skydeck.ai/de/genstudio-workspace/tools/pair-programmer/example-python-script-assistance.md).

# Beispiel – Python-Skript-Hilfe

In diesem Beispiel bitten wir den Pair Programmer um Hilfe mit einem Python-Skript, das in Bezug auf große CSV-Dateien nicht wie gewünscht funktioniert.

<figure><img src="/files/aQtfqB95xa2xd89BabHi" alt="pair programmer input"><figcaption></figcaption></figure>

Das Tool benötigt einen Moment, um Ihr Eingabeaufforderung zu analysieren. Jede Antwort ist individuell angepasst, sodass keine Eingabeaufforderungen die exakt gleiche Ausgabe haben. Für diese Eingabeaufforderung begann der Pair Programmer mit Anforderungen, die wiederholten, was wir gefragt hatten.

<figure><img src="/files/ObOsAmFL7lcAwJ8CX4Pw" alt="pair programmer output 1"><figcaption></figcaption></figure>

Manchmal können Sie nach einer Lösung fragen, die nicht existiert. Der Pair Programmer kann Ihnen mitteilen, ob er eine angemessene Antwort geben kann und wie das Tool auf Ihre Eingabeaufforderung reagieren wird.

<figure><img src="/files/09Te6Q55QbgHqfUwg8F7" alt="pair programmer output 2"><figcaption></figcaption></figure>

Für unsere Python-Skript-Eingabeaufforderung erklärt der Pair Programmer verschiedene Möglichkeiten, wie wir unser Skript ändern können, einschließlich Codebeispielen.

<figure><img src="/files/0td0EIhLLWvkB6B67kEx" alt="pair programmer output 3"><figcaption></figcaption></figure>

Der Pair Programmer kann uns auch einige Folgefragen stellen, damit die KI die spezifischen Bedürfnisse Ihrer Situation verstehen kann. Sie können dann diese Fragen stellen, um weitere Unterstützung anzufordern.

<figure><img src="/files/cpVJ8ps1WNKzzTth4yvr" alt="pair programmer output 4"><figcaption></figcaption></figure>

Der Pair Programmer bietet dann aktualisierte Strategien an, die besser zu Ihren Bedürfnissen passen. Es kann weitere Folgefragen geben. Wenn Sie mehr Fragen beantworten und weitere Informationen bereitstellen, wird Ihre Ausgabe spezifischer. Der Pair Programmer versteht automatisch den Kontext für jede zusätzliche Anfrage.

<figure><img src="/files/R95nnmIfVZKJUKYwpXZ8" alt="pair programmer output 5"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.skydeck.ai/de/genstudio-workspace/tools/pair-programmer/example-python-script-assistance.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
