diff --git a/main.ipynb b/main.ipynb index 308b323..246605c 100644 --- a/main.ipynb +++ b/main.ipynb @@ -14,6 +14,7 @@ "cell_type": "markdown", "id": "b3969792-c3ea-490b-8f5a-463da33ce0c4", "metadata": { + "jp-MarkdownHeadingCollapsed": true, "tags": [] }, "source": [ @@ -62,7 +63,7 @@ "* [styling](https://peps.python.org/pep-0008/).\n", "* testing (no link, because testing is quite diverse); not only unit tests; I'm still relatively incompetent at it, so things will be described from quite a limited perspective.\n", "\n", - "Most sections will eventually include \"***prerequisites:***\" part (things you need to know before looking into this section); things required are mostly found in the official tutorial." + "Most sections will eventually include \"_**prerequisites:**_\" part (things you need to know before looking into this section); things required are mostly found in the official tutorial." ] }, { @@ -80,6 +81,7 @@ "cell_type": "markdown", "id": "07390193-fdde-4bee-aec4-f5b3227dea06", "metadata": { + "jp-MarkdownHeadingCollapsed": true, "tags": [] }, "source": [ @@ -89,14 +91,14 @@ "\n", "Even a dynamically typed language can sometimes, at least, declare types. Python has built-in support for that via annotations.\n", "\n", - "_**prerequisites:** [functions](https://docs.python.org/3/tutorial/controlflow.html#defining-functions)*_\n", + "_**prerequisites:** [functions](https://docs.python.org/3/tutorial/controlflow.html#defining-functions)_\n", "\n", - "***also mentioned here:** [`match`](https://docs.python.org/3/tutorial/controlflow.html#match-statements)*" + "_**also mentioned here:** [`match`](https://docs.python.org/3/tutorial/controlflow.html#match-statements)_" ] }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 14, "id": "5477e321-dc9a-4c9a-a4b6-a2549c0c0d37", "metadata": {}, "outputs": [], @@ -108,7 +110,6 @@ "cell_type": "markdown", "id": "990298fd-f154-45c7-b9a7-af63ae6e7c4e", "metadata": { - "jp-MarkdownHeadingCollapsed": true, "tags": [] }, "source": [ @@ -119,6 +120,7 @@ "cell_type": "markdown", "id": "de9d52c9-6df3-4427-b316-587b56347cd4", "metadata": { + "jp-MarkdownHeadingCollapsed": true, "tags": [] }, "source": [ @@ -141,6 +143,7 @@ "cell_type": "markdown", "id": "ccde8fee-3003-4842-bec8-8f118e95b17e", "metadata": { + "jp-MarkdownHeadingCollapsed": true, "tags": [] }, "source": [ @@ -167,6 +170,7 @@ "cell_type": "markdown", "id": "36c05f51-5422-41c7-a461-7f766c04b088", "metadata": { + "jp-MarkdownHeadingCollapsed": true, "tags": [] }, "source": [ @@ -188,6 +192,7 @@ "cell_type": "markdown", "id": "a52cf44c-aa01-40c9-9adc-e838da385b28", "metadata": { + "jp-MarkdownHeadingCollapsed": true, "tags": [] }, "source": [ @@ -214,6 +219,7 @@ "cell_type": "markdown", "id": "82158316-a752-4bcf-bd6f-c4cde017096b", "metadata": { + "jp-MarkdownHeadingCollapsed": true, "tags": [] }, "source": [ @@ -263,7 +269,7 @@ "# [Data model](https://docs.python.org/3/reference/datamodel.html)\n", "https://docs.python.org/3/reference/datamodel.html\n", "\n", - "***prerequisites:** [classes](https://docs.python.org/3/tutorial/classes.html)*" + "_**prerequisites:** [classes](https://docs.python.org/3/tutorial/classes.html)_" ] }, { @@ -279,9 +285,9 @@ "\n", "There are a lot of ways, and directly using `open`+`.write`/`.read` is probably not fit for you task. So I decided not to link one specific external article to this section.\n", "\n", - "***prerequisites:** variables, [strings](https://docs.python.org/3/tutorial/introduction.html#strings)*\n", + "_**prerequisites:** variables, [strings](https://docs.python.org/3/tutorial/introduction.html#strings)_\n", "\n", - "***also mentioned here:** [`with`](https://peps.python.org/pep-0343/)*" + "_**also mentioned here:** [`with`](https://peps.python.org/pep-0343/)_" ] }, { @@ -380,7 +386,9 @@ "\n", "statement itself: https://docs.python.org/3/reference/compound_stmts.html#with \n", "relevant PEP: https://peps.python.org/pep-0343/ \n", - "the datamodel it represents: https://docs.python.org/3/reference/datamodel.html#context-managers" + "the datamodel it represents: https://docs.python.org/3/reference/datamodel.html#context-managers\n", + "\n", + "_**recommended before reading:** [classes](https://docs.python.org/3/tutorial/classes.html)_" ] }, { @@ -395,11 +403,11 @@ "If you do anything with IO, you should probably do it **asynchronously** \n", "https://docs.python.org/3/library/asyncio.html\n", "\n", - "***prerequisites:** [functions](https://docs.python.org/3/tutorial/controlflow.html#defining-functions)*\n", + "_**prerequisites:** [functions](https://docs.python.org/3/tutorial/controlflow.html#defining-functions)_\n", "\n", - "***recommended before reading:** [classes](https://docs.python.org/3/tutorial/classes.html)*\n", + "_**recommended before reading:** [classes](https://docs.python.org/3/tutorial/classes.html)_\n", "\n", - "***also mentioned here:** [`with`](https://peps.python.org/pep-0343/)*" + "_**also mentioned here:** [`with`](https://peps.python.org/pep-0343/)_" ] }, {