Removing ipython notebook file and modifying the py file instead