Python scripts can be imported as a web notebook. Obviously, we can also import previously exported notebooks.
This recipe shows you how a Python script can be imported as a web notebook.
Load a Python script with this command:
% load vectorsum.py
The following screenshot shows an example of what we see after loading
vectorsum.py from NumPy Beginner's Guide into the notebook page: