# HG changeset patch # User Santosh G. Vattam # Date 1271837856 -19800 # Node ID 9f9fddf7e37c465b2279f4852562edc604d40716 # Parent 26294a5b856b44103e411ed9f9300d50e00780d1 MNIT Jaipur changes. diff -r 26294a5b856b -r 9f9fddf7e37c day1/day1quiz1.tex --- a/day1/day1quiz1.tex Tue Mar 30 11:29:26 2010 +0530 +++ b/day1/day1quiz1.tex Wed Apr 21 13:47:36 2010 +0530 @@ -209,13 +209,13 @@ %% \alert{standard deviation}? \end{frame} -%% \begin{frame}[fragile] -%% \frametitle{\incqno } -%% \begin{lstlisting} -%% In []: marks = [10, 20, 30, 50, 55, -%% 75, 83] -%% \end{lstlisting} -%% How will you convert the list \texttt{marks} to an \alert{array}? -%% \end{frame} +\begin{frame}[fragile] +\frametitle{\incqno } +\begin{lstlisting} +In []: marks = [10, 20, 30, 50, 55, + 75, 83] +\end{lstlisting} +How will you convert the list \texttt{marks} to an \alert{array}? +\end{frame} \end{document} diff -r 26294a5b856b -r 9f9fddf7e37c day1/session1.tex --- a/day1/session1.tex Tue Mar 30 11:29:26 2010 +0530 +++ b/day1/session1.tex Wed Apr 21 13:47:36 2010 +0530 @@ -125,27 +125,27 @@ \begin{frame} \frametitle{Workshop Schedule: Day 1} \begin{description} - \item[Session 1] Mon 09:00--10:00 - \item[Session 2] Mon 10:05--11:05 - \item[Session 3] Mon 11:20--12:20 - \item[Session 4] Mon 12:25--13:25 - \item[Quiz 1] Mon 14:25--14:45 - \item[Exercises] Mon 14:45--15:30 - \item[Session 5] Mon 15:45--16:45 - \item[Quiz 2] Mon 16:50--17:05 + \item[Session 1] Fri 09:00--10:00 + \item[Session 2] Fri 10:05--11:05 + \item[Session 3] Fri 11:20--12:20 + \item[Session 4] Fri 12:25--13:25 + \item[Quiz 1] Fri 14:25--14:45 + \item[Exercises] Fri 14:45--15:30 + \item[Session 5] Fri 15:45--16:45 + \item[Quiz 2] Fri 16:50--17:05 \end{description} \end{frame} \begin{frame} \frametitle{Workshop Schedule: Day 2} \begin{description} - \item[Session 1] Tue 09:00--10:00 - \item[Session 2] Tue 10:05--11:05 - \item[Session 3] Tue 11:20--12:20 - \item[Session 4] Tue 12:25--13:25 - \item[Quiz 1] Tue 14:25--14:45 - \item[Exercises] Tue 14:45--15:30 - \item[Session 5] Tue 15:45--16:45 + \item[Session 1] Sat 09:00--10:00 + \item[Session 2] Sat 10:05--11:05 + \item[Session 3] Sat 11:20--12:20 + \item[Session 4] Sat 12:25--13:25 + \item[Quiz 1] Sat 14:25--14:45 + \item[Exercises] Sat 14:45--15:30 + \item[Session 5] Sat 15:45--16:45 \end{description} \end{frame} @@ -194,30 +194,30 @@ \end{block} \end{frame} -\begin{frame}[fragile] -\frametitle{The Python interpreter \ldots} -\begin{block}{} -\begin{lstlisting} - $ python -\end{lstlisting} %$ -\end{block} -\begin{lstlisting} - >>> print "Hello, World!" - Hello, World! -\end{lstlisting} -Exiting -\begin{lstlisting} - >>> ^D(Ctrl-D) - $ -\end{lstlisting} %$ -\end{frame} +%% \begin{frame}[fragile] +%% \frametitle{The Python interpreter \ldots} +%% \begin{block}{} +%% \begin{lstlisting} +%% $ python +%% \end{lstlisting} %$ +%% \end{block} +%% \begin{lstlisting} +%% >>> print "Hello, World!" +%% Hello, World! +%% \end{lstlisting} +%% Exiting +%% \begin{lstlisting} +%% >>> ^D(Ctrl-D) +%% $ +%% \end{lstlisting} %$ +%% \end{frame} \section{Starting up Ipython} \begin{frame}[fragile] \frametitle{Starting up \ldots} \begin{block}{} \begin{lstlisting} - $ ipython + $ ipython -pylab \end{lstlisting} %$ \end{block} \begin{lstlisting} @@ -232,19 +232,19 @@ An alternative to IPython is bpython \end{frame} -\section{Ipython with magic} -\begin{frame}[fragile] -\frametitle{Let the magic begin \ldots} -\begin{itemize} -\item \alert{IPython is an improved interpreter}\\ -\item \alert{Recommended for Scientific and Computing work}\\ -\end{itemize} -\begin{block}{} -\begin{lstlisting} - $ ipython -pylab -\end{lstlisting} %$ -\end{block} -\end{frame} +%% \section{Ipython with magic} +%% \begin{frame}[fragile] +%% \frametitle{Let the magic begin \ldots} +%% \begin{itemize} +%% \item \alert{IPython is an improved interpreter}\\ +%% \item \alert{Recommended for Scientific and Computing work}\\ +%% \end{itemize} +%% \begin{block}{} +%% \begin{lstlisting} +%% $ ipython -pylab +%% \end{lstlisting} %$ +%% \end{block} +%% \end{frame} \section{Loops} \begin{frame}[fragile] diff -r 26294a5b856b -r 9f9fddf7e37c day1/session4.tex --- a/day1/session4.tex Tue Mar 30 11:29:26 2010 +0530 +++ b/day1/session4.tex Wed Apr 21 13:47:36 2010 +0530 @@ -134,7 +134,7 @@ \begin{frame}[fragile] \frametitle{Matrices: Initializing} \begin{lstlisting} -In [23]: c = array([[11,12,13], +In []: c = array([[11,12,13], [21,22,23], [31,32,33]]) diff -r 26294a5b856b -r 9f9fddf7e37c day2/day2quiz.tex --- a/day2/day2quiz.tex Tue Mar 30 11:29:26 2010 +0530 +++ b/day2/day2quiz.tex Wed Apr 21 13:47:36 2010 +0530 @@ -166,21 +166,21 @@ What is the output? \end{frame} -\begin{frame}[fragile] - \frametitle{\incqno} - \begin{lstlisting} -def func(x, y=10): - print x+1, y+10 +%% \begin{frame}[fragile] +%% \frametitle{\incqno} +%% \begin{lstlisting} +%% def func(x, y=10): +%% print x+1, y+10 -func(1) +%% func(1) - \end{lstlisting} - What is the output? -\end{frame} +%% \end{lstlisting} +%% What is the output? +%% \end{frame} -\begin{frame} - \frametitle{\incqno} - How many items can a function return? -\end{frame} +%% \begin{frame} +%% \frametitle{\incqno} +%% How many items can a function return? +%% \end{frame} \end{document} diff -r 26294a5b856b -r 9f9fddf7e37c day2/session1.tex --- a/day2/session1.tex Tue Mar 30 11:29:26 2010 +0530 +++ b/day2/session1.tex Wed Apr 21 13:47:36 2010 +0530 @@ -79,7 +79,7 @@ \author[FOSSEE Team] {The FOSSEE Group} \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} -\date[] {09 March, 2010\\Day 2, Session 1} +\date[] {03 April, 2010\\Day 2, Session 1} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo} @@ -228,7 +228,7 @@ -------------------------------------------- TypeError Traceback (most recent call last) -/ in () + in () TypeError: 'str' object does not support item assignment diff -r 26294a5b856b -r 9f9fddf7e37c day2/session2.tex --- a/day2/session2.tex Tue Mar 30 11:29:26 2010 +0530 +++ b/day2/session2.tex Wed Apr 21 13:47:36 2010 +0530 @@ -78,7 +78,7 @@ \author[FOSSEE Team] {The FOSSEE Group} \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} -\date[] {09 March, 2010\\Day 2, Session 2} +\date[] {03 April, 2010\\Day 2, Session 2} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo} diff -r 26294a5b856b -r 9f9fddf7e37c day2/session3.tex --- a/day2/session3.tex Tue Mar 30 11:29:26 2010 +0530 +++ b/day2/session3.tex Wed Apr 21 13:47:36 2010 +0530 @@ -78,7 +78,7 @@ \author[FOSSEE Team] {The FOSSEE Group} \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} -\date[] {09 March, 2010\\Day 2, Session 3} +\date[] {03 April, 2010\\Day 2, Session 3} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo} diff -r 26294a5b856b -r 9f9fddf7e37c day2/session4.tex --- a/day2/session4.tex Tue Mar 30 11:29:26 2010 +0530 +++ b/day2/session4.tex Wed Apr 21 13:47:36 2010 +0530 @@ -100,7 +100,7 @@ \author[FOSSEE] {FOSSEE} \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} -\date[] {09 March, 2010\\Day 2, Session 4} +\date[] {03 April, 2010\\Day 2, Session 4} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\pgfdeclareimage[height=0.75cm]{iitblogo}{iitblogo} diff -r 26294a5b856b -r 9f9fddf7e37c day2/session5.tex --- a/day2/session5.tex Tue Mar 30 11:29:26 2010 +0530 +++ b/day2/session5.tex Wed Apr 21 13:47:36 2010 +0530 @@ -78,7 +78,7 @@ \author[FOSSEE] {FOSSEE} \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} -\date[] {09 March, 2010\\Day 2, Session 5} +\date[] {03 April, 2010\\Day 2, Session 5} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo} diff -r 26294a5b856b -r 9f9fddf7e37c day2/session6.tex --- a/day2/session6.tex Tue Mar 30 11:29:26 2010 +0530 +++ b/day2/session6.tex Wed Apr 21 13:47:36 2010 +0530 @@ -100,7 +100,7 @@ \author[FOSSEE] {FOSSEE} \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} -\date[] {09 March, 2010\\Day 2, Session 6} +\date[] {03 April, 2010\\Day 2, Session 6} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%