Report question

Question: How can I save the code written in an IPython session?