r/IPython • • Nov 17 '16

Mix python and pypy on jupyter

Hi everyone,

Does anyone know if it's possible to share the same instance of some variable between python and pypy in the same notebook?

See the image below for more details: https://i.imgur.com/Wc7QlBV.png

I was expecting that %%pypy (or even %%python3) was able to recognize the variable and run the code.

4 Upvotes

2 comments sorted by

View all comments

Show parent comment

1

u/btwonice Nov 18 '16

Good answer. Unfortunately, write things to disk is not an option. I need to compute some properties in a large graph (about 16 GB) and writing it disk would take a huge amount of time.

Thanks for you answer.