summaryrefslogtreecommitdiff
path: root/getting_started_with_ipython
diff options
context:
space:
mode:
authorJovina2011-05-18 10:39:14 +0530
committerJovina2011-05-18 10:39:14 +0530
commit8512c583453031d8421034e2f0e6b8b3fd0873d6 (patch)
tree5a5dfa5ce8fa9b69f9ccd3a97657f3aee7a27997 /getting_started_with_ipython
parent22b1cfd73120b31d294d3e613eb5cd4d81646f20 (diff)
downloadst-scripts-8512c583453031d8421034e2f0e6b8b3fd0873d6.tar.gz
st-scripts-8512c583453031d8421034e2f0e6b8b3fd0873d6.tar.bz2
st-scripts-8512c583453031d8421034e2f0e6b8b3fd0873d6.zip
Minor modifications to slides of "getting started with ipython".
Diffstat (limited to 'getting_started_with_ipython')
-rw-r--r--getting_started_with_ipython/slides.org6
-rw-r--r--getting_started_with_ipython/slides.tex26
2 files changed, 10 insertions, 22 deletions
diff --git a/getting_started_with_ipython/slides.org b/getting_started_with_ipython/slides.org
index 33998a3..7e8d863 100644
--- a/getting_started_with_ipython/slides.org
+++ b/getting_started_with_ipython/slides.org
@@ -58,9 +58,6 @@
* Question 1
1. Type =ab= and hit tab to see what happens.
2. Next, just type =a= and hit tab to see what happens.
-* Solution 1
- =ab= tab completes to =abs= and =a<tab>= gives us a list of all the
- commands starting with a.
* Question 2
Look-up the documentation of =round= and see how to use it
* Question 3
@@ -74,7 +71,6 @@
round(2.484, 1)
round(2.484, 2)
#+end_src
- Look-up the documentation of =round= and see how to use it.
* Solution 3
We get 2.0, 2.5 and 2.48, which are what we expect.
* Question 4
@@ -108,7 +104,7 @@
- question mark (?)
- exclamation mark (!)
- ampersand (&)
-* Solution
+* Solutions
1. False
2. Ctrl + D
diff --git a/getting_started_with_ipython/slides.tex b/getting_started_with_ipython/slides.tex
index c0b33a1..ad3d55a 100644
--- a/getting_started_with_ipython/slides.tex
+++ b/getting_started_with_ipython/slides.tex
@@ -1,4 +1,4 @@
-% Created 2011-05-13 Fri 16:49
+% Created 2011-05-18 Wed 10:36
\documentclass[presentation]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
@@ -83,21 +83,14 @@ showstringspaces=false, keywordstyle=\color{blue}\bfseries}
\end{enumerate}
\end{frame}
\begin{frame}
-\frametitle{Solution 1}
-\label{sec-4}
-
- \texttt{ab} tab completes to \texttt{abs} and \texttt{a<tab>} gives us a list of all the
- commands starting with a.
-\end{frame}
-\begin{frame}
\frametitle{Question 2}
-\label{sec-5}
+\label{sec-4}
Look-up the documentation of \texttt{round} and see how to use it
\end{frame}
\begin{frame}[fragile]
\frametitle{Question 3}
-\label{sec-6}
+\label{sec-5}
Check the output of
\lstset{language=Python}
@@ -110,17 +103,16 @@ round(2.484)
round(2.484, 1)
round(2.484, 2)
\end{lstlisting}
- Look-up the documentation of \texttt{round} and see how to use it.
\end{frame}
\begin{frame}
\frametitle{Solution 3}
-\label{sec-7}
+\label{sec-6}
We get 2.0, 2.5 and 2.48, which are what we expect.
\end{frame}
\begin{frame}
\frametitle{Question 4}
-\label{sec-8}
+\label{sec-7}
\begin{enumerate}
@@ -132,7 +124,7 @@ round(2.484, 2)
\end{frame}
\begin{frame}
\frametitle{Summary}
-\label{sec-9}
+\label{sec-8}
In this tutorial, we have learnt to –
@@ -147,7 +139,7 @@ round(2.484, 2)
\end{frame}
\begin{frame}
\frametitle{Evaluation}
-\label{sec-10}
+\label{sec-9}
\begin{enumerate}
@@ -171,8 +163,8 @@ round(2.484, 2)
\end{enumerate}
\end{frame}
\begin{frame}
-\frametitle{Solution}
-\label{sec-11}
+\frametitle{Solutions}
+\label{sec-10}
\begin{enumerate}