I've added a couple more features, and merged some code with John.
So, now I have a PyConsole control that can be used in any application to get a interactive
python console. PyExpr, which allows for attributes to be set to python expression
(<Button Content="{PyExpr 4+4}" />). And PyScript which I've been showing at
length here.
Yesterday I decided to actually write something usefull with this. With about 161
lines total (about 80 python, 80 xaml) I wrote a class browser, complete with filtering!
Having interactive scripting (no F5, no refresh, nothing!) is amazingly productive.
I wouldn't want to build a big application using this stuff, but for glueing together
other components, this is such a slick model.
Probably the neatest python feature used, list filtering:
allprops = [pi for pi in t.GetProperties() if pi.Name.Contains(_filter.Text)]
Also ran into a nasty Avalon layout bug that i'll have to have someone look at on
monday. The scrollviewer just seems to not want to cooporate with my layout.
Complete
source for the class browser.