Skip to content

Instantly share code, notes, and snippets.

@lukasz-madon
Created November 2, 2017 13:18
Show Gist options
  • Save lukasz-madon/ecf5813fddbbee7a261151d5634778c6 to your computer and use it in GitHub Desktop.
Save lukasz-madon/ecf5813fddbbee7a261151d5634778c6 to your computer and use it in GitHub Desktop.
Jupyter notebook starter
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "markdown",
"source": [
"Notebook Starter\n",
"---\n",
"\n",
"This is a simple notebook intended to be used as a starter for new notebooks.\n"
],
"metadata": {}
},
{
"cell_type": "code",
"source": [
"import os\n",
"import sys\n",
"sys.path += [os.path.dirname(os.getcwd())]"
],
"outputs": [],
"execution_count": 1,
"metadata": {
"collapsed": false,
"outputHidden": false,
"inputHidden": false
}
},
{
"cell_type": "code",
"source": [
"from __future__ import unicode_literals, absolute_import, division, print_function\n",
"\n",
"import toolz\n",
"from datetime import datetime, timedelta\n"
],
"outputs": [],
"execution_count": 2,
"metadata": {
"collapsed": false,
"outputHidden": false,
"inputHidden": false
}
},
{
"cell_type": "code",
"source": [],
"outputs": [],
"execution_count": null,
"metadata": {
"collapsed": false,
"outputHidden": false,
"inputHidden": false
}
}
],
"metadata": {
"kernelspec": {
"name": "start",
"language": "python",
"display_name": "start"
},
"kernel_info": {
"name": "start"
},
"language_info": {
"mimetype": "text/x-python",
"nbconvert_exporter": "python",
"name": "python",
"pygments_lexer": "ipython2",
"version": "2.7.13",
"file_extension": ".py",
"codemirror_mode": {
"version": 2,
"name": "ipython"
}
}
},
"nbformat": 4,
"nbformat_minor": 4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment