I have been using Jupyter notebook for my python applications. There are several utility functions that I use on regular basis. Today, my solution is to copy all these functions into new python notebook and execute my new applications. I wanted to write a python file (say utility.py) and write all routine functions in that file. However, I am not sure how to call or import utility.py into Jupyter notebook.
utility.py
def f1(): do_something
def f2: do_something2
def f3: do_somthing3
In .ipynb file
import utility.py
utility.f1()
utility.f2()