summaryrefslogtreecommitdiff
path: root/getting_started_with_ipython
diff options
context:
space:
mode:
authorJovina2011-05-18 16:39:23 +0530
committerJovina2011-05-18 16:39:23 +0530
commit819852954661fd34144e2d606d292481c607a0b9 (patch)
treef0797683126a9b1c8376d168df82f3ff8d78934c /getting_started_with_ipython
parent8d4d17754e1a8779f8cb0648cddba0ebcb37a72e (diff)
downloadst-scripts-819852954661fd34144e2d606d292481c607a0b9.tar.gz
st-scripts-819852954661fd34144e2d606d292481c607a0b9.tar.bz2
st-scripts-819852954661fd34144e2d606d292481c607a0b9.zip
Minor changes to 1st three scripts.
Diffstat (limited to 'getting_started_with_ipython')
-rw-r--r--getting_started_with_ipython/script.rst13
1 files changed, 8 insertions, 5 deletions
diff --git a/getting_started_with_ipython/script.rst b/getting_started_with_ipython/script.rst
index 5cf7b88..058a879 100644
--- a/getting_started_with_ipython/script.rst
+++ b/getting_started_with_ipython/script.rst
@@ -155,7 +155,7 @@ Type
::
- 'print'
+ print
{{{Hit enter}}}
{{{Point at the Out[] prompt}}}
@@ -243,9 +243,9 @@ 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, and
-hit enter. Ipython interpreter will show the documentation for the
-function. Lets us see the documentation of the function abs, type
+of a function, type the function name followed by a question mark.
+Ipython interpreter will show the documentation for the
+function. Let us see the documentation of the function abs, type
abs? and press enter
.. L18
@@ -269,6 +269,8 @@ returns it's absolute value.
lets see few examples,
+Type abs(-19) and abs(19) on the interpreter.
+
We get 19, as expected, in both the cases.
.. R20
@@ -357,6 +359,7 @@ and hit enter, without closing the parenthesis.
.. L26
+{{{ switch to terminal }}}
::
round(2.484
@@ -476,5 +479,5 @@ And the answers,
.. R34
-Hope you have enjoyed and found it useful.
+Hope you have enjoyed this tutorial and found it useful.
Thank you!