>Or is there a way to access the content of a variable, when you only >have a string with its name?
'Eval' can do that : def ashow(v): show("$"+v+"=%s$"%latex(eval(v))) b=2/3 ashow('b') Hope that helps --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---