In [1]:
# Ugly Python PATH hack to import insults from notebook
import os
import sys
nb_dir = os.path.split(os.getcwd())[0]
if nb_dir not in sys.path:
sys.path.append(nb_dir)
In [2]:
import insults
In [ ]: