##// END OF EJS Templates
Inherit history machinery from LoggingConfigurable...
Inherit history machinery from LoggingConfigurable HistoryManager uses log (in an error case, which is why we didn't spot it before). Closes gh-9351

File last commit:

r21637:d1ce07b2
r22182:f8924729
Show More
mynotebook.ipynb
69 lines | 1.1 KiB | 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 ],
Min RK
add kernel metadata to example notebooks
r20278 "metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"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.4.2"
}
},
Min RK
upate exmaple notebooks to nbformat v4
r18669 "nbformat": 4,
"nbformat_minor": 0
Min RK
add kernel metadata to example notebooks
r20278 }