add python file and rerun notebook with restarted kernal