Hi@akhtar,
Starting from IPython 3 (now Jupyter project), the notebook has a text editor that can be used as a more convenient alternative to load/edit/save text files. A text file can be loaded in a notebook cell with the magic command %load. If you execute a cell as shown below.
%load filename.py
Hope this is helpful!
To know more join Master in Python programming course today.
Thanks!