Saved code in Face detection with OpenCV.py in a file called face-detection.py
$ python face-detection.py
Traceback (most recent call last):
File "face-detection.py", line 5, in
get_ipython().magic('matplotlib inline')
NameError: name 'get_ipython' is not defined