> 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/es/genstudio-workspace/tools/pair-programmer/example-python-script-assistance.md).

# Ejemplo – Asistencia con Script de Python

En este ejemplo, estamos pidiendo a Pair Programmer que ayude con un script de Python que no está funcionando como se esperaba en relación con archivos CSV grandes.

<figure><img src="/files/4Z76RKDrxkAIIV4x3ZlE" alt="entrada del programador en pareja"><figcaption></figcaption></figure>

La herramienta toma un segundo para analizar tu solicitud. Cada respuesta es personalizada, por lo que ninguna solicitud tendrá exactamente la misma salida. Para esta solicitud, Pair Programmer comenzó con Requisitos que reiteraron lo que pedimos.

<figure><img src="/files/ESm6wOebmjEknkZ0Asv7" alt="salida del programador en pareja 1"><figcaption></figcaption></figure>

A veces puedes pedir una solución que no existe. Pair Programmer puede informarte si puede proporcionar una respuesta adecuada y cómo la herramienta va a responder a tu solicitud.

<figure><img src="/files/XdetpajncVxjFLPAD4Md" alt="salida del programador en pareja 2"><figcaption></figcaption></figure>

Para nuestra solicitud de script de Python, Pair Programmer está explicando diferentes maneras en que podemos modificar nuestro script, completo con ejemplos de código.

<figure><img src="/files/NHjc2xpGO6r1FuxSLZdX" alt="salida del programador en pareja 3"><figcaption></figcaption></figure>

Pair Programmer también puede proporcionarnos algunas preguntas de seguimiento para que la IA pueda entender las necesidades específicas de tu situación. Luego puedes hacer esas preguntas para solicitar más asistencia.

<figure><img src="/files/bFauoyUpbK7vNaODLVQx" alt="salida del programador en pareja 4"><figcaption></figcaption></figure>

Pair Programmer luego proporciona estrategias actualizadas que se adaptan mejor a tus necesidades. Puede haber más preguntas de seguimiento. A medida que respondas más preguntas y proporciones más información, tu salida será más específica. Pair Programmer entiende automáticamente el contexto de cada consulta adicional.

<figure><img src="/files/ekSH8Y5nUOEMMiWtgjof" alt="salida del programador en pareja 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/es/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.
