python interactive mode | Sololearn: Learn to code for FREE!


python interactive mode

imagine running a python script in intractive mode(-i flag), and your variables are in memory and not deleted, is there a way to running another script and access those varibales are already in memory?(it's possible to running second script with copy pasting line by line in intractive shell, but this took much effort and it's not efficient)

5/19/2021 10:35:26 AM


4 Answers

New Answer


maybe in windows you have a chance


U could save your variables in a file and read them after.


Frogged thanks for your response, but thats not efficient for me, because my variables over 100GB and its take too much for loading them, i need a way too access those variables from outside if its possible!, if not, i would like to know.


Frogged i have no windows right now, i'll test it later, i appreciat your help.