All jupyter contrib nbextensions are marked as possibly incompatible

As you will notice, in version 0.5.1 of jupyter_contrib_nbextensions most of the nbextensions are compatible with versions 4.X and 5.X. For example look at this extension: It you uncheck the option “disable configuration for nbextensions without explicit compatibility“, you will most probably have no problem using any extension. I guess that the developers haven’t yet … Read more

Install Python 3.8 kernel in Google Colaboratory

I have found how to run Python 3.8 notebook on Colab. install Anaconda3 add (fake) google.colab library start jupyterlab access it with ngrok Here’s the code # install Anaconda3 !wget -qO ac.sh https://repo.anaconda.com/archive/Anaconda3-2020.07-Linux-x86_64.sh !bash ./ac.sh -b # a fake google.colab library !ln -s /usr/local/lib/python3.7/dist-packages/google \ /root/anaconda3/lib/python3.8/site-packages/google # start jupyterlab, which now has Python3 = 3.8 … Read more

How do I implement a progress bar

Here is a solution (following this). from ipywidgets import IntProgress from IPython.display import display import time max_count = 100 f = IntProgress(min=0, max=max_count) # instantiate the bar display(f) # display the bar count = 0 while count <= max_count: f.value += 1 # signal to increment the progress bar time.sleep(.1) count += 1 If the … Read more

How to disable auto-quotes and auto-brackets in Jupyter 5.0

It looks like it can be done by running in a notebook: from notebook.services.config import ConfigManager c = ConfigManager() c.update(‘notebook’, {“CodeCell”: {“cm_config”: {“autoCloseBrackets”: False}}}) This creates a file ~/.jupyter/nbconfig/notebook.json with the content: { “CodeCell”: { “cm_config”: { “autoCloseBrackets”: false } } } After executing the Python command, or manually creating the file, restart your Jupyter … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)