You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
monkeyking/examples/Notebook/nbpackage/mynotebook.ipynb

51 lines
775 B

{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# My Notebook"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"def foo():\n",
" return \"foo\""
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"def has_ip_syntax():\n",
" listing = !ls\n",
" return listing"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"def whatsmyname():\n",
" return __name__"
]
}
],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 0
}