diff options
author | Santosh G. Vattam | 2009-12-08 16:37:18 +0530 |
---|---|---|
committer | Santosh G. Vattam | 2009-12-08 16:37:18 +0530 |
commit | 5c6a22254dd22ba8225a6bb7b816548cdb70cebc (patch) | |
tree | 36a2f9d2552a022991c7aad4b592ad122ee57d21 /day1/cheatsheet2.tex | |
parent | b3821a5ee2fd2b655873c93ad78cd15e899decac (diff) | |
download | workshops-more-scipy-5c6a22254dd22ba8225a6bb7b816548cdb70cebc.tar.gz workshops-more-scipy-5c6a22254dd22ba8225a6bb7b816548cdb70cebc.tar.bz2 workshops-more-scipy-5c6a22254dd22ba8225a6bb7b816548cdb70cebc.zip |
Minor edits to correct spellings.
Diffstat (limited to 'day1/cheatsheet2.tex')
-rwxr-xr-x | day1/cheatsheet2.tex | 4 |
1 files changed, 2 insertions, 2 deletions
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} |