Skip to content

Instantly share code, notes, and snippets.

@the-dan
Last active August 20, 2020 16:06
Show Gist options
  • Save the-dan/26b151d6a0cbf7b044a9595f444a726f to your computer and use it in GitHub Desktop.
Save the-dan/26b151d6a0cbf7b044a9595f444a726f to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"def mock_run():\n",
" print (\"This mock is for IPythong notebook importing\")"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "folio",
"language": "python",
"name": "folio"
},
"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.7.7"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": false,
"sideBar": false,
"skip_h1_title": false,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": false,
"toc_window_display": false
}
},
"nbformat": 4,
"nbformat_minor": 4
}
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"def mock_run():\n",
" print (\"This mock is for IPythong notebook importing\")"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "folio",
"language": "python",
"name": "folio"
},
"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.7.7"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": false,
"sideBar": false,
"skip_h1_title": false,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": false,
"toc_window_display": false
}
},
"nbformat": 4,
"nbformat_minor": 4
}
print ("Imported!")
def sayHi():
print ("Hi")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment