summaryrefslogtreecommitdiff
path: root/getting_started_with_ipython
diff options
context:
space:
mode:
authorJovina2011-05-19 14:00:45 +0530
committerJovina2011-05-19 14:00:45 +0530
commit3fafdde94954b1d4912437d78e1ff2136c51bcce (patch)
treea605090987ffd752c28858f791f5d65c9634cecf /getting_started_with_ipython
parent8716e3e3490ec77535e28411e0d2e744580745f8 (diff)
downloadst-scripts-3fafdde94954b1d4912437d78e1ff2136c51bcce.tar.gz
st-scripts-3fafdde94954b1d4912437d78e1ff2136c51bcce.tar.bz2
st-scripts-3fafdde94954b1d4912437d78e1ff2136c51bcce.zip
Minor changes to the scripts & slides in 1st module.
Diffstat (limited to 'getting_started_with_ipython')
-rw-r--r--getting_started_with_ipython/script.rst32
-rw-r--r--getting_started_with_ipython/slides.org8
-rw-r--r--getting_started_with_ipython/slides.tex10
3 files changed, 25 insertions, 25 deletions
diff --git a/getting_started_with_ipython/script.rst b/getting_started_with_ipython/script.rst
index cd50c23..c72bde7 100644
--- a/getting_started_with_ipython/script.rst
+++ b/getting_started_with_ipython/script.rst
@@ -220,7 +220,7 @@ out all the possible completions of r.
.. L16
-{{{Show slide with question 1}}}
+{{{Show slide with exercise 1}}}
.. R16
@@ -248,7 +248,7 @@ the commands starting with a.
Now, let's see what the functions abs is used for. We will use the
help features of ipython to find out this. To see the documentation
-of a function, type the function name followed by a question mark.
+of a function, type the function name followed by a exercise mark.
Ipython interpreter will show the documentation for the
function. Let us see the documentation of the function abs, type
abs? and press enter
@@ -297,7 +297,7 @@ Look-up the documentation of ``round`` and see how to use it.
.. L21
-{{{Show slide with question 2}}}
+{{{Show slide with exercise 2}}}
.. L22
@@ -309,7 +309,7 @@ Look-up the documentation of ``round`` and see how to use it.
Switch to the terminal for solution.
And you can look up the documentation of the function round by typing
-round question mark in the ipython interpreter.
+round exercise mark in the ipython interpreter.
.. L23
@@ -339,7 +339,7 @@ round(2.484, 2)
.. L24
-{{{Show slide with question 3}}}
+{{{Show slide with exercise 3}}}
.. L25
@@ -413,7 +413,7 @@ Pause the video here, try out the following exercise and resume the video.
.. L29
-{{{Show slide with question 4}}}
+{{{Show slide with exercise 4}}}
.. L30
@@ -434,18 +434,18 @@ Pause the video here, try out the following exercise and resume the video.
.. R31
-let's revise quickly what we have learnt today.In this tutorial we learnt
+This brings us to the end of this tutorial.In this tutorial,we have learnt to,
- 1. to invoke the ``ipython`` interpreter by typing ipython.
- #. to quit the ``ipython`` interpreter by using <ctrl>d.
- #. to navigate in the history of ``ipython`` by using the arrow keys.
- #. what is tab-completion.
- #. to see the documentation of functions using question mark.
- #. to interrupt using <ctrl>c when we make an error.
+ 1. Invoke the ``ipython`` interpreter by typing ipython.
+ #. Quit the ``ipython`` interpreter by using <ctrl>d.
+ #. Navigate in the history of ``ipython`` by using the arrow keys.
+ #. Use the tab-completion feauture for writing python functions.
+ #. See the documentation of functions using exercise mark.
+ #. Interrupt using <ctrl>c when we make an error.
.. R32
-Here are some self assessment questions for you to solve
+Here are some self assessment questionss for you to solve
1. ``ipython`` is a programming language similar to Python.
True or False
@@ -461,7 +461,7 @@ Here are some self assessment questions for you to solve
display the documentation.
- under score (_)
- - question mark (?)
+ - exercise mark (?)
- exclamation mark (!)
- ampersand (&)
@@ -472,7 +472,7 @@ Here are some self assessment questions for you to solve
.. L33
-{{{solution of self assessment questions on slide}}}
+{{{solution of self assessment questiones on slide}}}
.. R33
diff --git a/getting_started_with_ipython/slides.org b/getting_started_with_ipython/slides.org
index c4a7190..e359bad 100644
--- a/getting_started_with_ipython/slides.org
+++ b/getting_started_with_ipython/slides.org
@@ -55,12 +55,12 @@
- use tab-completion.
- look-up documentation of functions.
- interrupt incomplete or incorrect commands.
-* Question 1
+* Exercise 1
1. Type =ab= and hit tab to see what happens.
2. Next, just type =a= and hit tab to see what happens.
-* Question 2
+* Exercise 2
Look-up the documentation of =round= and see how to use it
-* Question 3
+* Exercise 3
Check the output of
#+begin_src python
round(2.48)
@@ -73,7 +73,7 @@
#+end_src
* Solution 3
We get 2.0, 2.5 and 2.48, which are what we expect.
-* Question 4
+* Exercise 4
1. Type =round(2.484=, and hit enter and then cancel the command
using Ctrl-C.
2. Then, type the command, =round(2.484, 2)= and resume
diff --git a/getting_started_with_ipython/slides.tex b/getting_started_with_ipython/slides.tex
index e6e5222..be811c6 100644
--- a/getting_started_with_ipython/slides.tex
+++ b/getting_started_with_ipython/slides.tex
@@ -1,4 +1,4 @@
-% Created 2011-05-19 Thu 10:47
+% Created 2011-05-19 Thu 13:42
\documentclass[presentation]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
@@ -73,7 +73,7 @@ showstringspaces=false, keywordstyle=\color{blue}\bfseries}
\end{itemize}
\end{frame}
\begin{frame}
-\frametitle{Question 1}
+\frametitle{Exercise 1}
\label{sec-3}
@@ -83,13 +83,13 @@ showstringspaces=false, keywordstyle=\color{blue}\bfseries}
\end{enumerate}
\end{frame}
\begin{frame}
-\frametitle{Question 2}
+\frametitle{Exercise 2}
\label{sec-4}
Look-up the documentation of \texttt{round} and see how to use it
\end{frame}
\begin{frame}[fragile]
-\frametitle{Question 3}
+\frametitle{Exercise 3}
\label{sec-5}
Check the output of
@@ -111,7 +111,7 @@ round(2.484, 2)
We get 2.0, 2.5 and 2.48, which are what we expect.
\end{frame}
\begin{frame}
-\frametitle{Question 4}
+\frametitle{Exercise 4}
\label{sec-7}