Hello everybody, During Sage Days 66, Erik Rowland gave us an overview of what working with Mathematica looks like.
He showed us that one can consider "the square root of a picture of a siamese cat", but also a nice feature: one can very easily display a list of objects, some of which are decorated with a frame or a background color. This is very useful, I believe, when one looks at a looong list of number, trying to identify some specific pattern. See the following code (in a console): -------------- g='\033[92;1;4m' w='\033[37;0m' def colorlist(l,filt): print join([(g if filt(x) else '')+str(x)+w for x in l],", ") colorlist(range(100),is_prime) -------------- What do you think of a feature like that? Do you think that we should have it in Sage? Do you have any idea of how it should be implemented in order to work in the console AND in the notebook? THaaaaaaaaaaaaaaaaaaanks, Nathann -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.