Last active
March 15, 2017 22:27
-
-
Save gkhays/ab584fc4a294acf9f742abf2bd7518f3 to your computer and use it in GitHub Desktop.
Run Jupyter Notebook Cells in VSCode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"deletable": true, | |
"editable": true | |
}, | |
"source": [ | |
"# Run Python and Jupyter within VSCode\n", | |
"\n", | |
"## Python\n", | |
"\n", | |
"Access the command palette with '`CTRL+Shift+P`' and then input '`t`' to move to the task runner.\n", | |
"\n", | |
"\n", | |
"\n", | |
"This will launch tasks.json, which will be save locally in the `.vscode` folder relative to your project.\n", | |
"\n", | |
"\n", | |
"\n", | |
"```json\n", | |
"{\n", | |
" \"version\": \"0.1.0\",\n", | |
" \"command\": \"python\",\n", | |
" \"isShellCommand\": true,\n", | |
" \"args\": [\"${file}\"],\n", | |
" \"showOutput\": \"always\"\n", | |
"}\n", | |
"```\n", | |
"\n", | |
"## Jupyter Notebook\n", | |
"\n", | |
"\n" | |
] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "Python 2", | |
"language": "python", | |
"name": "python2" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 2 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython2", | |
"version": "2.7.12" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment