How to view .ipynb as regular text instead of an IPython notebook in vscode

Disable automatically opening *.ipynb files in Notebook Editor To make sure the Jupyter notebooks don’t open in the Notebook Editor automatically, make sure to disable this settings. (Command Palette -> Settings) OR In the User or Workspace settings.json, add the following the root json – “jupyter.useNotebookEditor”: false To toggle between the Notebook Editor and Raw … Read more

ipywidgets dropdown widgets: what is the onchange event?

Between this link and the traitlet docs on github and just playing around, I finally figured this out: w = widgets.Dropdown( options=[‘Addition’, ‘Multiplication’, ‘Subtraction’, ‘Division’], value=”Addition”, description=’Task:’, ) def on_change(change): if change[‘type’] == ‘change’ and change[‘name’] == ‘value’: print(“changed to %s” % change[‘new’]) w.observe(on_change) display(w) Overall this looks a lot richer than the deprecated interface, … Read more

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