khpython

0 views
Skip to first unread message

Colin Walters

unread,
Nov 24, 2007, 6:38:25 PM11/24/07
to Reinteract

Tero Jäntti

unread,
Nov 27, 2007, 4:01:37 PM11/27/07
to Reinteract

I like it, not because it outputs HTML, but because it presents lists
nicely.

I like Reinteract because it is great for experimenting things. So,
what if, when receiving a list of CustomResult objects, they would all
be drawn as a list. With list comprehensions, such list would be great
for experimenting with different parameter values, like:

[ plot( f(x, 5) ) for x in range(-5, 5) ]

[ rere.search(x, 'foo') for x in ['foo', 'foo|bar', '[a-z]+'] ]

That way you would immediately see which values suit best in whatever
case you are doing.

Better yet, drawing nested lists of CustomResults as two-dimensional
tables... Although that would eat a lot of screen space.
Reply all
Reply to author
Forward
0 new messages