Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Watching your jujpyter progress in page title
import IPython.core.display as ipydi
tabber_template = """<script id="the_tabber">(() => {
setTimeout(() => document.querySelector("#the_tabber").closest(".output_area").remove());
document.title="%s";
})()</script>"""
def tab(*args):
ipydi.display(ipydi.HTML(tabber_template % " ".join(map(str, args)).replace('"','\\"')))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment