Skip to content

Instantly share code, notes, and snippets.

@0atman
Created April 2, 2024 14:59
Show Gist options
  • Save 0atman/18f385d66f2b89d696db82e815b2e830 to your computer and use it in GitHub Desktop.
Save 0atman/18f385d66f2b89d696db82e815b2e830 to your computer and use it in GitHub Desktop.
test ipynb
Display the source blob
Display the rendered blob
Raw
{
"metadata": {
"kernelspec": {
"name": "python",
"display_name": "Python (Pyodide)",
"language": "python"
},
"language_info": {
"codemirror_mode": {
"name": "python",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8"
}
},
"nbformat_minor": 4,
"nbformat": 4,
"cells": [
{
"cell_type": "code",
"source": "%pip install requests\nimport requests",
"metadata": {
"trusted": true
},
"outputs": [],
"execution_count": 5
},
{
"cell_type": "code",
"source": "requests.get(\"https://jupyter.org\").url",
"metadata": {
"trusted": true
},
"outputs": [
{
"name": "stderr",
"text": "/lib/python3.11/site-packages/urllib3/connectionpool.py:1101: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jupyter.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings\n warnings.warn(\n",
"output_type": "stream"
},
{
"execution_count": 10,
"output_type": "execute_result",
"data": {
"text/plain": "'https://jupyter.org/'"
},
"metadata": {}
}
],
"execution_count": 10
},
{
"cell_type": "code",
"source": "",
"metadata": {
"trusted": true
},
"outputs": [],
"execution_count": null
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment