Skip to content

Question: How to capture the stdout of the python interpreter #1872

@sebschmi

Description

@sebschmi

Please see the following question I asked on stackoverflow: https://stackoverflow.com/questions/69203700/how-to-capture-the-stdout-of-the-python-interpreter-inside-the-rust-program-when

How can I achieve this with pyo3?

The use case is to envelope the output with the logger used by the Rust application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions