On Wed, Mar 15, 2023 at 3:10 PM brombo <[email protected]> wrote:
>
> Is the following correct?  As long as the classes I write have _sympystr and 
> _latex members the printing using sympy and my objects is transparent.

That should be enough. Make sure you follow the guidelines at
https://docs.sympy.org/latest/modules/printing.html#common-mistakes
for recursively printing subexpressions. If you care about the Unicode
pretty printer, you will need to a printer for it as well.

>
> One more question.  I am running Ubuntu 22.04 and have not been able to set a 
> PYTHONPATH to include the directories with my code in them.  Has something 
> changed in Ubuntu 22.04.  What do you do to put the sympy code in the path?

As far as I know, PYTHONPATH should work the same no matter what
platform you use. You can check sys.path in Python to see what paths
it uses to import things.

Aaron Meurer

>
> --
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/9b0a27b4-349d-41c1-93ef-208088a1fc02n%40googlegroups.com.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6Jihj9CYeXbg5D9AasTb9UOgKJLOTKsp%2B%2BcV3W0Jz2dQA%40mail.gmail.com.

Reply via email to