Skip to content

PyCall.jl py string equivalents #91

Answered by cjdoris
icweaver asked this question in Q&A
Discussion options

You must be logged in to vote

We already have @pyeval and @pyexec: https://cjdoris.github.io/PythonCall.jl/stable/pythoncall/#PythonCall.pyeval

They're a little more verbose than PyCall's @py_str but also more general because you can extract values out of exec calls and convert the result types.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@cjdoris
Comment options

@icweaver
Comment options

@cjdoris
Comment options

@icweaver
Comment options

@cjdoris
Comment options

Answer selected by icweaver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants