day1/session1.tex
changeset 280 9bed85f05eb8
parent 279 e7ce6f9d7e15
child 286 ac457f7d1702
--- a/day1/session1.tex	Thu Nov 05 14:56:52 2009 +0530
+++ b/day1/session1.tex	Thu Nov 05 20:47:16 2009 +0530
@@ -473,6 +473,20 @@
 \end{lstlisting}
 \end{frame}
 
+\begin{frame}[fragile]
+\frametitle{Saving Commands}
+Save commands of review problem into file
+\begin{itemize}
+\item Use \typ{\%hist} command of IPython 
+\item Identify the required line numbers
+\item Then, use \typ{\%save} command of IPython
+\end{itemize}
+\begin{lstlisting}
+  In []: %hist
+  In []: %save four_plot.py 16 18-27
+\end{lstlisting}
+\end{frame}
+
 \begin{frame}
   \frametitle{What did we learn?}
   \begin{itemize}
@@ -481,10 +495,6 @@
     \item Annotating plots.
     \item Changing the looks: size, linewidth
   \end{itemize}
-  \begin{block}{Note}
-    \centerline{\alert{Don't Close \typ{IPython}}}
-  \end{block}
-%%\inctime{10}
 \end{frame}
 
 \end{document}