##// END OF EJS Templates
Backport PR #4336: use simple replacement rather than string formatting in format_kernel_cmd...
Backport PR #4336: use simple replacement rather than string formatting in format_kernel_cmd closes #4334

File last commit:

r11699:327c104f
r12909:2a627764
Show More
mynotebook.ipynb
58 lines | 997 B | text/plain | TextLexer
MinRK
add Importing Notebooks example
r11699 {
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"My Notebook"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"def foo():\n",
" return \"foo\""
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 1
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"def has_ip_syntax():\n",
" listing = !ls\n",
" return listing"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 2
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"def whatsmyname():\n",
" return __name__"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 4
}
],
"metadata": {}
}
]
}