Skip to content

Conversation

icweaver
Copy link
Contributor

@icweaver icweaver commented Oct 9, 2025

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

@cjdoris
Copy link
Collaborator

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
Contributor Author

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

@cjdoris cjdoris merged commit 3e128c9 into JuliaPy:main Oct 10, 2025
15 of 16 checks passed
@cjdoris
Copy link
Collaborator

cjdoris commented Oct 10, 2025

Nice thank you - docs improvements are always appreciated.

@icweaver icweaver deleted the docs-guide branch October 10, 2025 17:28
Sign up for free to 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