Skip to content

display python docstring #1865

@elmbeech

Description

@elmbeech

Hi All,

This is an astonishing library! I am very impressed.

This here is more of a question or feature request (if this is not possible) than a bug report.

Is there a way to display the docstring of a python function?
I imagine something like this:

library("reticulate")

os <- import("os") 

# a way to show the docstring
help(os$system)
os$system?
?os$system
os$system$__doc__

That would be the cherry on the top!
I read the README and could not find how such a thing possibly would be done.

Thank you, Elmar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions