From 5c6a22254dd22ba8225a6bb7b816548cdb70cebc Mon Sep 17 00:00:00 2001 From: Santosh G. Vattam Date: Tue, 8 Dec 2009 16:37:18 +0530 Subject: Minor edits to correct spellings. --- day1/cheatsheet2.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'day1/cheatsheet2.tex') diff --git a/day1/cheatsheet2.tex b/day1/cheatsheet2.tex index 0b61e7c..58076f6 100755 --- a/day1/cheatsheet2.tex +++ b/day1/cheatsheet2.tex @@ -119,11 +119,11 @@ In []: print greet.split() 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} -- cgit