Skip to content

Conversation

@icweaver
Copy link
Contributor

Following up from the discussion here, added some brief usage examples for calling blocks of Python code interactively

@cjdoris
Copy link
Member

cjdoris commented Oct 9, 2025

Looks great thanks. CI failures are a separate issue I'm dealing with.

Only suggestion is could you change the second example to show using inputs as well as multiple outputs? Perhaps something along the lines of

@pyexec (x=3) =>""" y = x + 1 z = x - 1"""=> (y, z)

which also shows that you can name the inputs and outputs as well.

@icweaver
Copy link
ContributorAuthor

icweaver commented Oct 9, 2025

Sounds good, just added and included a type conversion example too. I also updated the indenting to match your style

@cjdoriscjdoris merged commit 3e128c9 into JuliaPy:mainOct 10, 2025
15 of 16 checks passed
@cjdoris
Copy link
Member

Nice thank you - docs improvements are always appreciated.

@icweavericweaver deleted the docs-guide branch October 10, 2025 17:28
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@icweaver@cjdoris