# HG changeset patch # User Puneeth Chaganti # Date 1289377966 -19800 # Node ID b2e8522839f00b7c2e3debae667e2e1d7648f651 # Parent b437ff7def954a24208c28ce60857f0da44b9275 Reviewed using python modules LO. diff -r b437ff7def95 -r b2e8522839f0 using python modules/script.rst --- a/using python modules/script.rst Wed Nov 10 13:30:25 2010 +0530 +++ b/using python modules/script.rst Wed Nov 10 14:02:46 2010 +0530 @@ -28,15 +28,13 @@ ==================== {{{ show the welcome slide }}} -Welcome to the spoken tutorial on using python modules. +Welcome to the spoken tutorial on Using Python Modules. {{{ switch to next slide, outline slide }}} In this tutorial, we will see how to run python scripts from command -line. See importing modules, importing scipy and pylab modules. And -also see the Python standard library. - -.. #[Punch: the sentence seems discontinuous.] +line. We'll see how to import modules, importing scipy and pylab +modules and have a look at the Python standard library. {{{ switch to next slide on executing python scripts from command line }}} @@ -49,7 +47,7 @@ print "Hello world!" print -and save the script as hello.py, +and save the script as ``hello.py``, {{{ save the script as hello.py }}} @@ -187,7 +185,7 @@ {{{ switch to next slide, problem statement }}} -Write a script to plot a sine wave from minus two pi to two pi. +%% %% Write a script to plot a sine wave from minus two pi to two pi. Pause here and try to solve the problem yourself before looking at the solution. @@ -234,8 +232,8 @@ Find more information at Python Library reference, ``http://docs.python.org/library/`` -The modules pylab, scipy, Mayavi are not part of the standard python -library. +There are a lot of other modules like pylab, scipy, Mayavi, etc which +are not part of the standard python library. {{{ switch to next slide, summary }}}