xxxxxxxxxx
sudo apt install jupyter-notebook
# To run jupyter-notebook
jupyter-notebook
xxxxxxxxxx
# Installing the jupyterlab package
pip install jupyterlab OR pip3 install jupyterlab
# Installing the notebook package
pip install notebook OR pip3 install notebook
# Launching the notebook
jupyter notebook
xxxxxxxxxx
Download Anaconda. We recommend downloading Anaconda’s latest Python 3 version (currently Python 3.7).
Install the version of Anaconda which you downloaded, following the instructions on the download page.
Congratulations, you have installed Jupyter Notebook. To run the notebook:
jupyter notebook
xxxxxxxxxx
You can use the IndexOf method of the StringBuilder class to determine if the string stored in the stringtofind object is contained within the sb object. Here's an example of how you could do it:
if (sb.ToString().IndexOf(stringtofind) != -1)
{
// the string was found in the StringBuilder object
}
else
{
// the string was not found in the StringBuilder object
}
Note that the ToString() method is called on the StringBuilder object to convert it to a regular string before calling IndexOf.