33
loading...
This website collects cookies to deliver better user experience
This is Day 1 of the #100DaysOfPython challenge.
# Make the directory
mkdir hello-jupyterlab
cd hello-jupyterlab
pipenv --three
# Install required packages
pipenv install requests
pipenv install --dev jupyterlab
pipenv run jupyter-lab
http://localhost:8888/lab
. From here, we would want to select the Python 3
kernel and then open up the notebook from under the Notebook
heading.+
icon on the top left or filling in the input and pressing "enter".import requests
r = requests.get('https://google.com')
r.status_code
r.status_code
evaluated to have a result of value 200
which is the status code for a successful request.hello_requests.ipynb
. Once this is done, you will see that your notebook has been saved locally for future use.