Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cded6f222a164a22601711b16e547edb
mooc-rr
Commits
129293ef
Commit
129293ef
authored
Nov 26, 2020
by
cded6f222a164a22601711b16e547edb
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no commit message
parent
e391755a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
3 deletions
+37
-3
toy_notebook_fr.ipynb
module2/exo1/toy_notebook_fr.ipynb
+37
-3
No files found.
module2/exo1/toy_notebook_fr.ipynb
View file @
129293ef
{
"cells": [],
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"\n",
"__version__ = '0.3.0'\n",
"\n",
"\n",
"def _jupyter_nbextension_paths():\n",
" # src & dest are os paths, and so must use os.path.sep to work correctly on Windows.\n",
" # In contrast, require is a requirejs path, and thus must use `/` as the path separator.\n",
" return [dict(\n",
" section='notebook',\n",
" # src is relative to current module\n",
" src='jupytemplate',\n",
" # dest directory is in the `nbextensions/` namespace\n",
" dest='jupytemplate',\n",
" # require is also in the `nbextensions/` namespace\n",
" # must use / as path.sep\n",
" require='jupytemplate/main',\n",
" )]\n",
"\n",
"\n",
"def get_template_path():\n",
" \"\"\"\n",
" Get absolute path of template notebook.\n",
" :return: the path if the template notebook\n",
" \"\"\"\n",
" return os.path.abspath(os.path.join(os.path.dirname(__file__), 'jupytemplate', 'template.ipynb'))"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
...
...
@@ -16,10 +51,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.
3
"
"version": "3.6.
4
"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment