<div dir="ltr"><div>I'm dealing with a bit of an interesting use-case, where non-programmers are using the iPython notebook to run queries on our production database and interpreting the results.</div><div><br></div>In this use case, but also in others, I think it would make sense to create a method similar to __str__, but returning a widget made of HTML/CSS/JS meant to be displayed in a browser, not just text-only output.<div>

<br></div><div>Does it seems appropriate for Python objects to be able to display themselves natively in a browser, perhaps self-contained in an iframe?<br><div><br></div><div>Cheers,</div><div>Andrey</div></div></div>