diff -r 0a6ab1d81491 -r 347ff2714deb day1/cheatsheet2.tex --- a/day1/cheatsheet2.tex Tue Dec 08 13:06:14 2009 +0530 +++ b/day1/cheatsheet2.tex Tue Dec 08 16:37:18 2009 +0530 @@ -119,11 +119,11 @@ Out[]: ['hello', 'world'] In []: greet = ``hello, world'' In []: print greet.split(',') -Out[]: ['hello', ' world'] # Note the whitespace before 'world' +Out[]: ['hello', ' world'] # Note the white space before 'world' \end{lstlisting} A string can be split based on the delimiter specified within quotes. A combination of more than one delimiter can also be used.\\ \typ{In []: greet.split(', ')}\\ -\typ{Out[]: ['hello', 'world']}\\Note the whitespace is not there anymore. +\typ{Out[]: ['hello', 'world']}\\Note the white space is not there anymore. \newpage \section{Plotting from Files} \subsection{Opening files}