+ 2

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)

19th May 2021, 10:35 AM
Ali
Ali - avatar
4 Antworten
+ 5
maybe in windows you have a chance https://pypi.org/project/ReadWriteMemory/
19th May 2021, 2:49 PM
Oma Falk
Oma Falk - avatar
+ 4
U could save your variables in a file and read them after.
19th May 2021, 1:20 PM
Oma Falk
Oma Falk - avatar
+ 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.
19th May 2021, 1:48 PM
Ali
Ali - avatar
0
Frogged i have no windows right now, i'll test it later, i appreciat your help.
19th May 2021, 7:01 PM
Ali
Ali - avatar