mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
94d13ef899
In the function remove_shortcut, if the action failed, it used to throw an 'implementation oriented' exception message: > throws('try to delete non-leaf') This is not a good message for the user who wants to mess with the shortcuts. The solution is to leave this 'implementation oriented' exception message and add a try-catch bloc above that catches this message and throws a new, frendliest, exception message. I came up with this: > throws('try to remove non-existing shortcut') * notebook/static/base/js/keyboard.js: (remove_shortcut) add try-catch. Signed-off-by: Nicolas Barray <nbarray@gmail.com> |
||
---|---|---|
docs | ||
examples | ||
git-hooks | ||
notebook | ||
scripts | ||
tools/tests | ||
.bowerrc | ||
.gitignore | ||
.gitmodules | ||
.mailmap | ||
.travis.yml | ||
bower.json | ||
build-main.js | ||
CONTRIBUTING.md | ||
COPYING.md | ||
Dockerfile | ||
gulpfile.js | ||
MANIFEST.in | ||
package.json | ||
README.md | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
setupbase.py |
Jupyter Notebook
The Jupyter HTML notebook is a web-based notebook environment for interactive computing.
Dev quickstart:
- Create a virtual env (ie jupyter-dev)
- ensure that you have node/npm installed (ie brew install node on OS X)
- Clone this repo and cd into it
- pip install -r requirements.txt -e .
NOTE: For Debian/Ubuntu systems, if you're installing the system node you need to use the 'nodejs-legacy' package and not the 'node' package.
Launch with:
jupyter notebook
For Ubuntu Trusty:
sudo apt-get install nodejs-legacy npm python-virtualenv python-dev
python2 -m virtualenv ~/.virtualenvs/notebook
source ~/.virtualenvs/notebook/bin/activate
pip install --upgrade setuptools pip
git clone https://github.com/jupyter/notebook.git
cd notebook
pip install -r requirements.txt -e .
jupyter notebook