# Example – Python Script Assistance

In this example, we are asking Pair Programmer to help with a Python script that is not working as intended in relation to large CSV files.

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

The tool takes a second to analyze your prompt. Every response is customized, so no prompts will have the exact same output. For this prompt, Pair Programmer started with Requirements that reiterated what we asked.

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

Sometimes you may ask for a solution that does not exist. Pair Programmer may let you know if it can provide an adequate answer and how the tool is going to answer your prompt.

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

For our Python script prompt, Pair Programmer is explaining different ways we can modify our script, complete with code examples.

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

Pair Programmer may also provide us some follow-up questions so that AI can understand the specific needs of your situation. You can then ask those questions to request further assistance.

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

Pair Programmer then provides updated strategies that better suit your needs. There may be more follow-up questions. As you answer more questions and provide further information, your output will be more specific. Pair Programmer automatically understands the context for each additional query.

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


---

# 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://docs.skydeck.ai/genstudio-workspace/tools/pair-programmer/example-python-script-assistance.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.
