PythonCall.jl
PythonCall.jl copied to clipboard
python `with` syntax
I see in the PyMacro file there is a todo item for adding the with syntax. Is there any alternative currently?
Your alternatives are to use the pywith function or to call __enter__ and __exit__ yourself.