pyjulia icon indicating copy to clipboard operation
pyjulia copied to clipboard

How can I reach the local namespace of a Julia function in python scripts?

Open yaomz16 opened this issue 5 years ago • 0 comments

Hi, I'm wondering how to reach a local variable in a Julia function. Say I have the following function in Julia:

cb = function () local = 1.0 py""" # How can I reach the variable 'local' here? """

Thanks!

yaomz16 avatar Oct 28 '20 15:10 yaomz16