##// END OF EJS Templates
python3 syntax fixes on various scripts...
python3 syntax fixes on various scripts revealed by running tools/build_relese

File last commit:

r18669:b6d2fd61
r20277:6ceb4492
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 }