← Back to team overview

yade-dev team mailing list archive

Re: saving python globals?

 




I think you can save all variables, what you need, with self-defined function. It is about 10 strings of code.
Then you can load both files.

You mean writing some variables in a separate text file? Of course, but I'd put this in "workarounds", since there will be different variables names in each other python script, and it doesn't save functions. I was asking if there could be a more general solution, but thanks for suggestion. :)

Bruno




References