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

+1

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

Ali

4 Answers

New Answer

+5

maybe in windows you have a chance https://pypi.org/project/ReadWriteMemory/

+4

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

+1

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.

0

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