additional_ipython/script.rst
changeset 271 bb4ed72f3ec6
parent 234 2b88724a7ee0
child 327 28a54b57049d
equal deleted inserted replaced
270:49c9bb72e08a 271:bb4ed72f3ec6
     3 
     3 
     4 .. A - Students and teachers from Science and engineering backgrounds
     4 .. A - Students and teachers from Science and engineering backgrounds
     5    B - 
     5    B - 
     6    C - 
     6    C - 
     7    D - 
     7    D - 
       
     8 
       
     9 .. By the end of this tutorial you will be able to
       
    10 
       
    11 .. #. Retrieve your ipython history 
       
    12 .. #. View a part of the history 
       
    13 .. #. Save a part of your history to a file. 
       
    14 .. #. Run a script from within ipython 
       
    15 
     8 
    16 
     9 .. Prerequisites
    17 .. Prerequisites
    10 .. -------------
    18 .. -------------
    11 
    19 
    12 ..   1. Embellishing Plots
    20 ..   1. Embellishing Plots
    79 displays the recent 5 commands, inclusive of the =%hist= command.
    87 displays the recent 5 commands, inclusive of the =%hist= command.
    80 The default number is 40.
    88 The default number is 40.
    81 
    89 
    82 {{{ Pause here and try out the following exercises }}}
    90 {{{ Pause here and try out the following exercises }}}
    83 
    91 
    84 %% 1 %% Read through the %hist documenatation and find out how can we list all
    92 %% 1 %% Read through the documentation of %hist and find out how to
    85         the commands between 5 and 10
    93         list all the commands between 5 and 10
    86 
    94 
    87 {{{ continue from paused state }}}
    95 {{{ continue from paused state }}}
    88 
    96 
    89 As we can see from =%hist= documentation,
    97 As we can see from =%hist= documentation,
    90 ::
    98 ::
   126 
   134 
   127 {{{ goto the file and open it and show it }}}
   135 {{{ goto the file and open it and show it }}}
   128 
   136 
   129 {{{ Pause here and try out the following exercises }}}
   137 {{{ Pause here and try out the following exercises }}}
   130 
   138 
   131 %% 2 %% change the label on y-axis to "y" and save the lines of code
   139 %% 2 %% Change the label on y-axis to "y" and save the lines of code
   132         accordingly
   140         accordingly
   133 
   141 
   134 {{{ continue from paused state }}}
   142 {{{ continue from paused state }}}
   135 
   143 
   136 we use the command =ylabel= on interpreter as
   144 we use the command =ylabel= on interpreter as
   208 
   216 
   209 #[Nishanth]: Will add this line after all of us fix on one.
   217 #[Nishanth]: Will add this line after all of us fix on one.
   210 This tutorial was created as a part of FOSSEE project, NME ICT, MHRD India
   218 This tutorial was created as a part of FOSSEE project, NME ICT, MHRD India
   211 
   219 
   212 Hope you have enjoyed and found it useful.
   220 Hope you have enjoyed and found it useful.
   213 Thankyou
   221 Thank you!
   214  
   222