From cc482d07bb1cf118457926a07fb3e57535ca11aa Mon Sep 17 00:00:00 2001 From: Puneeth Chaganti Date: Fri, 20 Nov 2009 00:05:50 +0530 Subject: Minor edits to sessions 2, 4, 6 on day1. --- day1/session2.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'day1/session2.tex') diff --git a/day1/session2.tex b/day1/session2.tex index 0c3caf8..73637c9 100644 --- a/day1/session2.tex +++ b/day1/session2.tex @@ -331,7 +331,7 @@ This gives \kwrd{tsq} which is the list of squares of \typ{t} values. \frametitle{What about larger data sets?} \alert{Data is usually present in a file!} \\ Lets look at the \typ{pendulum.txt} file. -\begin{lstlisting} +\begin{lstlisting} $ cat pendulum.txt 1.0000e-01 6.9004e-01 1.1000e-01 6.9497e-01 @@ -339,7 +339,7 @@ $ cat pendulum.txt 1.3000e-01 7.5360e-01 1.4000e-01 8.3568e-01 1.5000e-01 8.6789e-01 -\end{lstlisting} +\end{lstlisting} %$ \ldots \begin{block}{Windows users:} C:> type pendulum.txt -- cgit From 534604c38b300b6b419362c487cbf779e7f76ea8 Mon Sep 17 00:00:00 2001 From: Shantanu Choudhary Date: Tue, 22 Dec 2009 14:10:37 +0530 Subject: commited changes made for scipy and cheatsheats. --- day1/session2.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'day1/session2.tex') diff --git a/day1/session2.tex b/day1/session2.tex index 73637c9..884a653 100644 --- a/day1/session2.tex +++ b/day1/session2.tex @@ -78,7 +78,7 @@ \author[FOSSEE] {FOSSEE} \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} -\date[] {7 November, 2009\\Day 1, Session 2} +\date[] {14 December, 2009\\Day 1, Session 2} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo} @@ -418,12 +418,12 @@ Out[]: ['hello', 'world'] \end{lstlisting} This is what happens with \typ{line} \begin{lstlisting} -In []: line = '1.2000e-01 7.4252e-01' +In []: line = '1.20 7.42' In []: point = line.split() In []: point -Out[]: ['1.2000e-01', '7.4252e-01'] +Out[]: ['1.20', '7.42'] \end{lstlisting} \end{frame} -- cgit