Restarting book with pycharm