# roundtrip

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/tools/e2b_data_analysis/unparse/roundtrip)

Parse a file and pretty-print it to output.

The output is formatted as valid Python source code.

## Signature

```python
roundtrip(
    filename,
    output = sys.stdout,
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `filename` | `unknown` | Yes | The name of the file to parse. |
| `output` | `unknown` | No | The output stream to write to. (default: `sys.stdout`) |

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/tools/e2b_data_analysis/unparse.py#L731)