CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 09:51:28 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"641b1053a2d34c2de96eae8a63edccba"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=WxLeRmnE25UfpMDUnOrnTvOKibFmJa5pco4S0phD94flwiqvsg4OCJMtTnuZa4PhJ253BesHmMEF7h9%2FX9G8IFyGPvZudFJqJKiiVDbEvgB0%2Bq0zkvlf%2FM9%2FZnC2gHZgGT02tinfAtt1e9Up7cEcvFDGa7iuFi52V5Vi29H0gMZiWfDZB0PMOA9Fy%2FszUsgUxnyBQkVuHJkEQKXDtywXTH%2Ff6vEvmHL2dTFiXKLloN0hebEPcY8v%2Bs0gqxqhI5gLNSiJelqBiVvvGoJ0F%2FYJoQ%3D%3D--NzsW2nWdkA4uY0xV--H243Z1fabGHYtsi3OSSCqQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1204810624.1753609888; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 09:51:28 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 09:51:28 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A3DC:0A77:A20A4:CF66B:6885F6A0
Jupyter (IPython) · DonJayamanne/pythonVSCode Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Jupyter (IPython)
Don Jayamanne edited this page Nov 2, 2016
·
8 revisions
You can now run Python code directly in a Jupyter (IPython) kernel.
- Running a line of Python code in a Kernel
- Running selected Pytohn code in a Kernel
- Running a block of code (cell) in a Kernel
- Restart, Interrupt and Shutdown a kernel
- Selecting a kernel
- Viewing output within Visual Studio Code (Images, Html, Graphs, Latex, SVG, and more)
- Before using Jupyter (IPython), you will need to ensure the prerequisites are installed and setup.
- Once you have the necessary prerequisites installed and setup, you are ready to evaluate code in a Jupyter kernel from within Visual Studio Code.
- For instance you can select a line or a block of code and evaluate it in a kernel and view the results
- Evaluating a block of code is what starts a kernel, and results in the displaying of the results and a status bar item to manage the kernel
- If selecting blocks of code is too cumbersome you can always use comment blocks to define a block of code also known as a
cell
for easy execution.
- Running a line or selection of code in a kernel
- You could select a block of code and execute it in a kernel
- You could place the cursor at a line and execute just that line
- Running a cell in a kernel
- Provided you have defined a block of code using the necessary characters, code lenses will automatically appear allowing you to run that cell in a kernel
- Managing kernels
- Running a block of code in a kernel results in a kernel being Started
- The kernel can be managed via the quick pick options displayed when clicking a status bar item
- You could restart, interrupt, shutdown or even select a different kernel (e.g. you could have two kernels, one for Python 2.7 and another for Python 3.5)
- Results are displayed within Visual Studio Code (with support for various interactive graphs)
At the moment, the following configuration options are supported. More details on setting up the following configuration settings can be found here.
- Defining the default kernel
- Defining startup code for the jupyter kernel
- The default startup code is
%matplotlib inline
- The default startup code is
- Controlling whether results are appended to existing results or not.
Clone this wiki locally
You can’t perform that action at this time.