On Wed, 7 Apr 2021 at 15:27, 'Bruce Allen' via sympy
<sympy@googlegroups.com> wrote:
>
> On the downside, this makes it hard to work on a calculation which
> requires large numbers of CPU hours and needs to be checkpointed and saved.
>
> Do you know of any workarounds? Or is there an alternative to
> pickle.save() and pickle.load() for this, which works well with sympy?
> The only reason I am using pickle is because it is what popped up when I
> googled 'save python data'.

The simplest workaround is to use `srepr` and `eval`.


Oscar

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAHVvXxTugLEFVbuya49R_SJHVCYkPHZ9L5i_FOP%3DL64-cTKo_g%40mail.gmail.com.

Reply via email to