Copied notebook content to python file.