How do I get the current IPython / Jupyter Notebook name

adding to previous answers, to get the notebook name run the following in a cell: %%javascript IPython.notebook.kernel.execute(‘nb_name = “‘ + IPython.notebook.notebook_name + ‘”‘) this gets you the file name in nb_name then to get the full path you may use the following in a separate cell: import os nb_full_path = os.path.join(os.getcwd(), nb_name)

What is the currently correct way to dynamically update plots in Jupyter/iPython?

Here is an example that updates a plot in a loop. It updates the data in the figure and does not redraw the whole figure every time. It does block execution, though if you’re interested in running a finite set of simulations and saving the results somewhere, it may not be a problem for you. … Read more

Resize the image in jupyter notebook using markdown

If you’re attaching your images by inserting them into the markdown like this: ![Screenshot.png](attachment:Screenshot.png) These attachment links don’t work: <img src=”https://stackoverflow.com/questions/41598916/attachment:Screenshot.png” width=”500″/> DO THIS. This does work. Just add div brackets: <div> <img src=”https://stackoverflow.com/questions/41598916/attachment:Screenshot.png” width=”500″/> </div> Hope this helps! PS I’m using jupyter_core-4.4.0 & jupyter notebook.

How to list package versions available with conda

To search for a specific package, use: conda search -f <package_name>. For example, based on the question, to search all versions for “jupyter” package, you’ll do: conda search -f jupyter. This will only return information about packages named “jupyter” exactly. Source: https://docs.conda.io/projects/conda/en/latest/commands/search.html

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