I just happened across this - Using Python in Rust and Rust in Python <https://python.plainenglish.io/using-python-in-rus-and-trust-in-python-ac5cf77d5ece?gi=3656a97a27e> .
It's a Rust library that lets you call Python code from within a Rust program - you can pass globals and locals if you want - and access the Python variables afterwards. You can also write Rust routines that can be called from Python. It reminds me of Jython, though so far it's more cumbersome to use. But interesting to contemplate! -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/3a2a38ac-feec-427c-abee-88afce4bdf16n%40googlegroups.com.