T_1
New Contributor III

Hey, thanks for reaching out. Unfortunately no, those don't help at all. I know the displayHTML call is the way a user renders HTML themselves by typing it into a cell. The problem is that that function doesn't exist in Python such that it can be executed by imported modules running in that environment.

I support a module users use which can provide results that are returned as HTML and, in other notebooks, rendered using the appropriate function for those environments, from my code; the user doesn't have to get the HTML object and manually render it themselves. That doesn't work in this notebook.

Trying to call that from w/in a module results in a NameError exception and I can find no way to get this function available in my module:

NameError: name 'displayHTML' is not defined

Sorry, I didn't put all the info in here; the links to the issues had all that so I didn't dump it all in here.

But again, I appreciate you replying. Have any ideas about using it from w/in an imported module?

Thanks!

Tom