How to move Jupyter notebook cells up/down using keyboard shortcut?

The following solution works on JupyterLab (I currently have version 2.2.6): You must first open the Keyboard Shortcuts configuration file. In JupyterLab you can find it in Settings -> Advanced Settings Editor then selecting the “Keyboard Shortcuts” option in the left panel and then editing the “User Preferences” tab at the right. Expanding on sherdim’s … Read more

Is there any way to generate a diff between two versions of an IPython notebook?

Notebook diff can be generated with nbdime. After installing nbdime you can run following to see notebook diff in browser: > nbdiff-web notebook_1.ipynb notebook_2.ipynb If you are using Github for version control you can use ReviewNB for Notebook diff. It lets you login via Github and browse commits/pull-request diff on your repo. You’ll see visual … Read more

ImportError: IProgress not found. Please update jupyter and ipywidgets although it is installed

I tried everything you mentioned in a new environment using conda and I had another issue related to the version of ipywidgets (a bug found in Github with comments saying that got solved after using last version). I solved the problem I had installing last version of ipywidgets. Here is my process: Create a new … Read more

How to fix “‘jupyter’ is not recognized as an internal or external command, operable program or batch file” when running Jupyter on Windows?

If you are absolutely sure that your Python library path is in your system variables (and you can find that path when you pip install Jupyter, you just have to read a bit) and you still experience “command not found or recognized” errors in Windows, you can try: python -m notebook For my Windows at … Read more

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