summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--additional_features_of_ipython/script.rst18
-rw-r--r--multiple_plots/script.rst5
-rwxr-xr-xtwo_column.py1
3 files changed, 13 insertions, 11 deletions
diff --git a/additional_features_of_ipython/script.rst b/additional_features_of_ipython/script.rst
index f178e88..08bf80d 100644
--- a/additional_features_of_ipython/script.rst
+++ b/additional_features_of_ipython/script.rst
@@ -26,13 +26,13 @@ Script
.. L1
-{{{ Show the first slide containing title, name of the production
-team along with the logo of MHRD }}}
+{{{ Show the first slide containing title, name of the production team
+along with the logo of MHRD }}}
.. R1
-Hello friends and welcome to the tutorial on
-"Additional Features of IPython".
+Hello friends and welcome to the tutorial on "Additional Features of
+IPython".
.. L2
@@ -373,7 +373,7 @@ Here are some self assessment questions for you to solve
2. How do you save the lines 2 3 4 5 7 9 10 11
- - ``%save filepath 2-5 7 9-11``
+ - ``%save filepath 2-5 7 9-11``
- ``%save filepath 2-11``
- ``%save filepath``
- ``%save 2-5 7 9 10 11``
@@ -381,10 +381,10 @@ Here are some self assessment questions for you to solve
3. What will the command ``%hist 5 10`` display.
- - The recently typed commands from 5 to 10 inclusive of the
- history command
- - The recently typed commands from 5 to 10 excluding the
- history command
+ - The recently typed commands from 5 to 10 inclusive of the history
+ command
+ - The recently typed commands from 5 to 10 excluding the history
+ command
.. L28
diff --git a/multiple_plots/script.rst b/multiple_plots/script.rst
index 2ebb45a..34a0b9c 100644
--- a/multiple_plots/script.rst
+++ b/multiple_plots/script.rst
@@ -42,8 +42,9 @@ At the end of this tutorial, you will be able to,
.. R3
-Before beginning this tutorial,we would suggest you to complete the
-tutorial on "Using plot interactively" , "Embellishing a plot" and "Saving plots".
+Before beginning this tutorial,we would suggest you to complete the
+tutorial on "Using plot interactively", "Embellishing a plot" and
+"Saving plots".
To begin with let us start ipython with pylab, by typing ipython -pylab
on the terminal.
diff --git a/two_column.py b/two_column.py
index 702e009..4134b2e 100755
--- a/two_column.py
+++ b/two_column.py
@@ -25,6 +25,7 @@ def parse_script(script):
else:
pass
txt += line
+ content[where] = txt # Saving the content of the last cell.
def write_two_col(content, two_col):
""" Write the content to a file, in two column format."""