Skip to content

2025.4.20 #1213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .idea/the-craft-of-selfteaching.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions 01.preface.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python [conda env:base] *",
"language": "python",
"name": "python3"
"name": "conda-base-py"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -212,9 +212,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.3"
"version": "3.12.3"
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}
8 changes: 4 additions & 4 deletions 02.proof-of-work.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python [conda env:base] *",
"language": "python",
"name": "python3"
"name": "conda-base-py"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -276,9 +276,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.3"
"version": "3.12.3"
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}
8 changes: 4 additions & 4 deletions Q.good-communication.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python [conda env:base] *",
"language": "python",
"name": "python3"
"name": "conda-base-py"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -456,9 +456,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.1"
"version": "3.12.3"
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}
49 changes: 33 additions & 16 deletions T-appendix.jupyter-installation-and-setup.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -462,16 +462,20 @@
},
{
"cell_type": "code",
"execution_count": 16,
"metadata": {},
"execution_count": 46,
"metadata": {
"jupyter": {
"is_executing": true
}
},
"outputs": [
{
"data": {
"text/plain": [
"[1, 2, 3]"
]
},
"execution_count": 16,
"execution_count": 46,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -482,16 +486,16 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 66,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[1, 2, 3]"
"'[]'"
]
},
"execution_count": 17,
"execution_count": 66,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -502,21 +506,33 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 64,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"(1, 2, 3)"
]
},
"execution_count": 64,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"text/plain": [
"{1, 2, 3}"
]
},
"execution_count": 13,
"execution_count": 64,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"from IPython.core.interactiveshell import InteractiveShell\n",
"InteractiveShell.ast_node_interactivity = \"all\"\n",
"(1, 2, 3)\n",
"{1, 2, 3}"
]
Expand All @@ -543,7 +559,7 @@
},
{
"cell_type": "code",
"execution_count": 21,
"execution_count": 62,
"metadata": {},
"outputs": [
{
Expand All @@ -552,7 +568,7 @@
"(1, 2, 3)"
]
},
"execution_count": 21,
"execution_count": 62,
"metadata": {},
"output_type": "execute_result"
},
Expand All @@ -562,7 +578,7 @@
"{1, 2, 3}"
]
},
"execution_count": 21,
"execution_count": 62,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -586,6 +602,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"\n",
"在 Code Cell 里,可以运行一些 “魔法函数”(Magic Functions),这是秉承了 IPython 的特性。绝大多数在 IPython 里能够使用的魔法函数在 Jupyterlab 里都可以直接使用。完整的 IPython 魔法函数请参照:\n",
"\n",
"> https://ipython.readthedocs.io/en/stable/interactive/magics.html\n",
Expand Down Expand Up @@ -655,9 +672,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python [conda env:base] *",
"language": "python",
"name": "python3"
"name": "conda-base-py"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -669,10 +686,10 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.1"
"version": "3.12.3"
},
"toc-autonumbering": true
},
"nbformat": 4,
"nbformat_minor": 2
}
"nbformat_minor": 4
}
Loading