interactive
interactive copied to clipboard
Variable sharing between C#-Python
Is your feature request related to a problem? Please describe. I think the variable sharing feature in dotnet interactive is awesome, however from what I understand here it only supports C#,F# and Powershell for now. Would it be possible in the future to share variables between C# and Python ?
Describe the solution you'd like To share variables between python and c#
Describe alternatives you've considered The alternative right now would be to write variables in a file and read them in the other language from there.
Still no answer to this :( Will we not get variable sharing anytime soon ? This will help ML development efforts in C# by a lot.
Hi Chris, We are starting to gather feedback for our Python Jupyter integration now. If you'd like to sign up to get beta instructions on how to use and test out our variable sharing please sign up here: https://forms.office.com/r/UQchfQSGa5
Hi Chris, We are starting to gather feedback for our Python Jupyter integration now. If you'd like to sign up to get beta instructions on how to use and test out our variable sharing please sign up here: https://forms.office.com/r/UQchfQSGa5
Hi Claudia, thank you very much, I have just signed up :)
Very pleased to hear you're working on Python support. Any new on when it will be available?
@claudiaregio any news on this ? I didn't receive anything on my email.
Hi @chriss2401, my records show that the NDA was not signed on your end which is why no additional instructions were sent over. @sharoncxu could you please help Chris get what he needs if the NDA is still required?
hi @claudiaregio / @sharoncxu , I still haven't received anything :)
@chriss2401, an NDA is no longer required to try out the preview.
You can find the instructions here: https://github.com/dotnet/interactive/blob/main/docs/jupyter-in-polyglot-notebooks.md
Variable sharing between c# and python kernel doesn't seem to work still. Any instructions/examples for making it work?
This is the output I get currently.
Correcting my mistake, variable sharing indeed works. I had to execute the set magic command in the target kernel where variable needs to be shared.
https://github.com/dotnet/interactive/blob/main/docs/variable-sharing.md#share-a-variable-between-kernels