Let's say I have created some variables in the python shell. I want to do something like this:
>>> animal="Cat"
>>> age="2"
>>> weight="3.8"
>>> name="Kitty"
>>> env.saveTo("./Cat.json")
>>> env.clear()
>>> env.loadFrom("./Cat.json")
Is it possible? I am using xonsh.
envin here?envis some pythonobjectorpackageneeded for me that facilitates the required functionality