is it possible to connect jupyter to google colab runtime? - jupyter-notebook

I want to use google colab runtime with jupyter notebook shortcut. but I didn't find any clue how to set google colab shortcut exactly like jupyter notebook (because some shortcut is not available or have been used for other shortcut as default by google colab or just can't). So I think, is it possible to connect jupyter to google colab runtime so I can use jupyter shortcut with google colab runtime

Related

How to view two jupyter notebooks on the same screen (I have just one monitor) using a Mac?

I welcome instructions to do this either with Jupyter Notebook or Jupyter Lab.
My intent for learning purposes, is to download and open various notebooks from GitHub, and open new notebooks to replicate the original notebook from GitHub.
I could simply switch back-and-forth from one notebook to the other to achieve my goal. But, it would be a lot easier if I could have both notebooks opened vertically in two separate windows. Is there an easy way to do some sort of split-screen viewing?
You can do this out of the box in JupyterLab by opening both notebooks and then dragging one of the tabs to the right side of the screen. You can’t do this in the legacy jupyter notebook viewer - it needs to be jupyter lab.
See the jupyterlab docs on the interface for more info.

Display Python code and Jupyter notebook on wix website

I'm writing a blog and I wanted to host a jupyter notebook on the wix website. What are the ways I can do it?
You can always turn your Jupyter Notebook to html that you can easily embed anywhere including Wix.
You can do it with this.

Jupyter Notebook extensions within Jupyter Lab

Is it possible to use notebook extensions (nbextensions) within Jupyter Lab?
I think my extensions are enabled... I call jupyter nbextension enable on them beforehand. But I don't see them in notebooks from within Jupyter Lab.
No, it is not possible to use a Notebook Classic extension in JupyterLab.
Though a great deal of effort has been made to make the notebook UI in JupyterLab look and feel like the UI in Notebook Classic, on the backend they do not share a code base. Thus, nbextensions for Notebook Classic have zero fundamental compatibility with JupyterLab. Beyond that, as #madhu94 points out, the extension API (how extensions should be structured, required methods, etc) are completely different in Classic and Lab.
There are some examples of projects with both an nbextension for Notebook Classic and a labextension for JupyterLab (eg jupyter-widgets/ipywidgets). In these cases the project will have separate code for each kind of extension.

jupyter lab open an iframe on a tab for monitoring dask scheduler

I am developping with dask distributed and this package provides a very useful debugging view as a bokeh application.
I want to have this application next to my notebook in a jupyterlab tab.
I have managed to do so by opening the jupyter lab reference (Help > Jupyter lab reference) and modifying the url with the inspect tool of firefox from it's orignial value to 127.0.0.1:8787 (the URL for the dask dashboard)
see below :
dask scheduler console in jupyter lab
Is there a less hacky way to open a website in jupyter lab?
It looks like there is an active Github issue for this. I recommend tracking https://github.com/jupyterlab/jupyterlab/issues/2369
It sounds like you may also want to look at https://github.com/dask/dask-labextension

Possible to copy/paste from IPython Notebook to other apps?

I'm new to Ipython Notebook. I can cut and paste from other apps into my notebooks, but how do I copy/paste code out of notebook into a different app?
I'm accessing a Linux VNC session via Chicken. I can cut/paste with wild abandon between OSX/Linux using both command X/C/V and/or middle mouse button. I can also copy code into IPython notebook. I'm stopped dead in my tracks trying to get code out of IpyNotebook.
Using Notebook's 'Edit/Copy Cell' doesn't work, neither does 'Ctrl-m c'.
I'm running IPython 0.13.1
You have to select and copy code using normal Ctrl-C Ctrl-V. 'Edit/Copy Cell' is a specific action in javascript that does a little more and that browser security policy prevent us to bind with clipboard.

Resources