Created
August 7, 2026 20:41
-
-
Save minrk/e68f50ee768d063cc403f67cf5e5992f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| channels: | |
| - conda-forge | |
| dependencies: | |
| - jupyterlab | |
| - jupyter_server_documents |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "cells": [ | |
| { | |
| "cell_type": "code", | |
| "execution_count": 1, | |
| "id": "173b0701-eb52-40be-82d6-afe24189172d", | |
| "metadata": {}, | |
| "outputs": [], | |
| "source": [ | |
| "import ipywidgets" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 2, | |
| "id": "1980f248-2ee0-407e-986f-fd79affc2482", | |
| "metadata": {}, | |
| "outputs": [ | |
| { | |
| "data": { | |
| "application/vnd.jupyter.widget-view+json": { | |
| "model_id": "95aabab9782548cab69b3a1f0e1b1d96", | |
| "version_major": 2, | |
| "version_minor": 0 | |
| }, | |
| "text/plain": [ | |
| "VBox(children=(HTML(value='hi'), HBox(children=(HTML(value='there'),))))" | |
| ] | |
| }, | |
| "execution_count": 2, | |
| "metadata": {}, | |
| "output_type": "execute_result" | |
| } | |
| ], | |
| "source": [ | |
| "w = ipywidgets.VBox([ipywidgets.HTML(\"hi\"), ipywidgets.HBox([ipywidgets.HTML(\"there\")])])\n", | |
| "w" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": null, | |
| "id": "7070ea7b-897b-4f74-b00d-244068404be5", | |
| "metadata": {}, | |
| "outputs": [], | |
| "source": [ | |
| "!pip list | grep jupyter > current.txt\n", | |
| "!pip list | grep ipy >> current.txt" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": null, | |
| "id": "575691f7-bad1-4fe1-ba1c-9d71e4886a6d", | |
| "metadata": {}, | |
| "outputs": [], | |
| "source": [ | |
| "!diff -u -b bad-repro.txt current.txt" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": null, | |
| "id": "e87868bb-3c3a-426a-af34-90376c55c0ab", | |
| "metadata": {}, | |
| "outputs": [], | |
| "source": [ | |
| "!diff -u -b good-repro.txt current.txt" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": null, | |
| "id": "255b1e85-13b8-4708-ad5c-4fb34354e0e5", | |
| "metadata": {}, | |
| "outputs": [], | |
| "source": [ | |
| "# if repro:\n", | |
| "# !cp current.txt bad-repro.txt" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": null, | |
| "id": "d47efda4-ca2c-494a-ab8f-86d90ed15f10", | |
| "metadata": {}, | |
| "outputs": [], | |
| "source": [ | |
| "# if ok:\n", | |
| "# !cp current.txt good-repro.txt" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": null, | |
| "id": "339c9781-feb2-499d-9365-5fb6e998284e", | |
| "metadata": {}, | |
| "outputs": [], | |
| "source": [ | |
| "!cat good-jl45.txt" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": null, | |
| "id": "8a05ee00-6561-4b0b-a59e-37f0f295031f", | |
| "metadata": {}, | |
| "outputs": [], | |
| "source": [ | |
| "!diff -u good-jl45.txt bad-jl45.txt" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": null, | |
| "id": "99fb0ffe-604e-4a88-ab1c-ab3abc647923", | |
| "metadata": {}, | |
| "outputs": [], | |
| "source": [ | |
| "!diff -u good-jl44.txt bad-jl45.txt" | |
| ] | |
| } | |
| ], | |
| "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.12.13" | |
| } | |
| }, | |
| "nbformat": 4, | |
| "nbformat_minor": 5 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment