##// END OF EJS Templates
Merge pull request #7159 from takluyver/hooks-invoke...
Merge pull request #7159 from takluyver/hooks-invoke Git hooks need to use invoke, not fab

File last commit:

r18669:b6d2fd61
r19411:e32d41f6 merge
Show More
mynotebook.ipynb
50 lines | 775 B | text/plain | TextLexer
MinRK
add Importing Notebooks example
r11699 {
Min RK
upate exmaple notebooks to nbformat v4
r18669 "cells": [
MinRK
add Importing Notebooks example
r11699 {
Min RK
upate exmaple notebooks to nbformat v4
r18669 "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__"
]
MinRK
add Importing Notebooks example
r11699 }
Min RK
upate exmaple notebooks to nbformat v4
r18669 ],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 0
MinRK
add Importing Notebooks example
r11699 }