<jupyter_start><jupyter_text>Using ObjectScript in a notebookThis notebook uses a kernel written in Python, which plugs into Jupyter to enable execution of ObjectScript inside IRIS. See `misc/kernels/objectscript/*` and `src/ObjectScript/Kernel/CodeExecutor.cls` for how this is done.Indenting each line with at least one space allows InterSystems Language Server to recognize the ObjectScript INT code correctly.<jupyter_code>Set hello = "helloworld2"
 zw hello<jupyter_output>hello="helloworld2"<jupyter_text>Embedded Python in ObjectScriptFrom ObjectScript, run some Python library methods.<jupyter_code>set datetime = ##class(%SYS.Python).Import("datetime")
 zw datetime
 zw datetime.date.today().isoformat()<jupyter_output>datetime=3@%SYS.Python  ; <module 'datetime' from '/usr/lib/python3.8/datetime.py'>  ; <OREF>
"2021-12-12"
{'fraction_non_alphanumeric': 0.09700598802395209, 'fraction_numerical': 0.015568862275449102, 'mean_word_length': 6.6, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '1330', 'license': 'MIT', 'n_tokens_mistral': 262, 'n_tokens_neox': 249, 'n_words': 75, 'path': 'src/Notebooks/ObjectScript.ipynb', 'repo_name': 'gjsjohnmurray/iris-python-template', 'size': '835'}