Skip to content

Instantly share code, notes, and snippets.

@tiwo
Last active November 27, 2022 06:37
Show Gist options
  • Save tiwo/0f730347f953505fce50e379c1388ee7 to your computer and use it in GitHub Desktop.
Save tiwo/0f730347f953505fce50e379c1388ee7 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "0780eeeb-1743-4c32-9602-304d78657c66",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{42: <object at 0x7f16eef83d20>}"
]
},
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"{42: object()}"
]
},
{
"cell_type": "markdown",
"id": "19e614eb-efe7-4a3f-b1b8-b1fdc160685e",
"metadata": {},
"source": [
"In the cell above this one, the output is\n",
"\n",
" {42: &lt;object at 0x7f16eef83d20&gt;}\n",
"\n",
"but the text between `&lt;` / `&gt;` is not rendered on Github Gist."
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.6"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment