Alan Bromborsky wrote: > Alan Bromborsky wrote: > >> If 'f' is a sympy symbol is there anyway of accessing the string >> representation of 'f' without using str(f). I need this because of the >> way I have implemented my extended latex driver. If I use str(f) I get >> a latex expression. What I am doing is converting a symbol to a >> function. If I was not using my latex driver and f,x, and y were >> symbols I would do: >> >> f = Function(str(f))(*(x,y)) >> >> for example. >> >> >> >> > I found out that replacing str(f) with repr(f) works for me. > > > > > I goofed again, repr(f) does not work.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---