diff options
-rw-r--r-- | instruction_sheets/python_for_linux.tex | 71 |
1 files changed, 35 insertions, 36 deletions
diff --git a/instruction_sheets/python_for_linux.tex b/instruction_sheets/python_for_linux.tex index e5b41c8..892b862 100644 --- a/instruction_sheets/python_for_linux.tex +++ b/instruction_sheets/python_for_linux.tex @@ -42,37 +42,36 @@ \section{Module - 1} Go through the general instructions as stated above before starting each module. \\ This module deals with the introduction of Ipython. The basics of plotting will be covered in this module. - \subsection{Getting started with Ipython.} - Tutorial required: \\ 1\_1\_getting\_started\_with\_ipython.ogv \\ + \subsection{Getting started with "ipython".} + Tutorial required: \\ 1.1. Getting started with "ipython". \\ This video deals with introduction to ipython interpretor, navigating across the history of interpretor, using tab-completion, looking up of documentation of functions and interrupt incomplete or incorrect commands. \subsection{Using plot interactively.} - Tutorial required: \\ 1\_2\_using\_plot\_interactively.ogv \\ + Tutorial required: \\ 1.2. Using plot interactively. \\ This video would teach you how to create simple plots of mathematical functions and how to use \emph{figure} window to study plots better. \subsection{Embellishing a plot.} - Tutorial required:\\ 1\_3\_embellishing\_a\_plot.ogv \\ + Tutorial required:\\ 1.3. Embellishing a plot. \\ This video would teach you how to modify the attributes of the plot - color, line, style, linewidth. One can learn how to add title to the plot, label x and y axes, add annotations to the plot, \emph{Set} and \emph{Get} the limits of axis. \subsection{Saving plots.} - Tutorial required: \\ 1\_4\_saving\_plots.ogv \\ - - This video would teach you how to save plots using \textbf{savefig()} function and also save plots in various other formats. + Tutorial required: \\ 1.4. Saving plots. \\ + This video would teach you how to save plots using \textbf{savefig()} function and also save plots in various other formats. \subsection{Multiple plots.} - Tutorial required: \\ 1\_5\_multiple\_plots.ogv \\ + Tutorial required: \\ 1.5. Multiple plots. \\ This video would help you to learn multiple plots which are overlaid, use the \emph{figure} command, use the \emph{legend} command, switch between the plots and perform various operations, and to create and switch plots. \subsection{Additional features of Ipython} - Tutorial required: \\ 1\_6\_additional\_features\_of\_ipython.ogv \\ + Tutorial required: \\ 1.6. Additional features of ipython. \\ This video would teach you how to retrieve your Ipython history, view a part of history, save a part of your history, run a script from with Ipython. \\ \section{Module - 2} Go through the general instructions as stated above before starting each module.\\ This module has the following features: \subsection{Loading data from files.} - Tutorial required: \\ 2\_1\_loading\_data\_from\_files.ogv \\ + Tutorial required: \\ 2.1. Loading data from files. \\ Files required:\\ pendulum.txt,primes.txt,pendulum\_semicolon.txt \\ This video deals with reading data from the files with a single column of data, read data from files with multiple columns separated by spaces and other delimiters. \begin{enumcpt} @@ -81,10 +80,10 @@ This module has the following features: \end{enumcpt} \subsection{Plotting data.} - Tutorial required: \\ 2\_2\_plotting\_data.ogv \\ + Tutorial required: \\ 2.2. Plotting data. \\ This video would teach you how to define a list of numbers, perform element-wise squaring of lists, plot data points, plot error bars. \subsection{Other types of plots.} - Tutorial required:\\ 2\_3\_other\_types\_of\_plots.ogv \\ + Tutorial required:\\ 2.3. Other types of plots. \\ Files required: company-a-data.txt \\ This video would teach you how to create scatter plot, pie charts, bar charts, log-log charts and using the \emph{matplotlib} help.\\ \\ \begin{enumcpt} @@ -95,16 +94,16 @@ This module has the following features: Go through the general instructions as stated above before starting each module.\\ This module has the following features: \subsection{Getting started with lists.} -Tutorial required: \\ 3\_1\_getting\_started\_with\_lists.ogv \\ +Tutorial required: \\ 3.1. Getting started with "Lists". \\ This video would teach you how to create lists, access elements, append elements to the lists, delete the elements from the lists. \subsection{Getting started with for.} -Tutorial required: \\ 3\_2\_getting\_started\_with\_for.ogv \\ +Tutorial required: \\ 3.2. Getting started with "for". \\ This video would teach you how to use for in blocks of code in python. It would also give an overview of the \textbf{range()} function. It should show you how to write code blocks in python and Ipython interpreter. \subsection{Getting started with strings.} -Tutorial required: \\ 3\_3\_getting\_started\_with\_strings.ogv \\ +Tutorial required: \\ 3.3. Getting started with "Strings". \\ This video would teach you how to define strings in different ways, concatenating strings, printing a string, accessing individual elements of the string, and learn immutability of the strings. \subsection{Getting started with files.} -Tutorial required: \\ 3\_4\_getting\_started\_with\_files \\ +Tutorial required: \\ 3.4. Getting started with "Files". \\ Files required : pendulum.txt \\ This video would teach you how to open a file, read the comments of the file line by line, read the entire content of the file, append the lines of a file to a list and close a file. \begin{enumcpt} @@ -112,7 +111,7 @@ This video would teach you how to open a file, read the comments of the file lin \end{enumcpt} \subsection{Parsing data.} -Tutorial required: \\ 3\_5\_parsing\_data.ogv \\ +Tutorial required: \\ 3.5. Parsing Data. \\ Files required : sslc.txt \\ This video would teach you how to split using a delimiter, remove the white space around the string, convert the datatypes of variables from one type to other. \begin{enumcpt} @@ -120,7 +119,7 @@ This video would teach you how to split using a delimiter, remove the white spac \end{enumcpt} \subsection{Statistics.} -Tutorial required: \\ 3\_6\_statistics.ogv \\ +Tutorial required: \\ 3.6. Statistics. \\ Files required :\\ football.txt, sslc2.txt \\ This video teaches you how to do statistical operations in Python and take a sum of set of numbers; find their mean, median and standard deviation. \\ \begin{enumcpt} @@ -132,11 +131,11 @@ This video teaches you how to do statistical operations in Python and take a sum Go through the general instructions as stated above before starting each module.\\ This module has the following features: \subsection{Getting started with arrays.} -Tutorial required : \\ 4\_1\_getting\_started\_with\_arrays.ogv \\ +Tutorial required : \\ 4.1. Getting started with "Arrays". \\ This video teaches you how to create arrays using data, create arrays from lists, perform basic operations, create identity matrix, use functions. \subsection{Accessing parts of the arrays.} -Tutorial required : \\ 4\_2\_accessing\_parts\_of\_the\_arrays.ogv \\ +Tutorial required : \\ 4.2. Accessing parts of Arrays. \\ Files required - squares.png\\ This video teaches you how to access and change individual elements of the arrays, access and change rows and columns of the arrays, access and change rows and columns of arrays, access and change other chunks from an array, using slicing and string. It also teaches you to read images into an array and perform processing on them, using simple array manipulations. \begin{enumcpt} @@ -145,10 +144,10 @@ This video teaches you how to access and change individual elements of the array \subsection{Matrices} -Tutorial required : \\ 4\_3\_matrices.ogv \\ +Tutorial required : \\ 4.3. Matrices. \\ This video teaches you how to create matrices using data, from lists; do basic matrix operations like addition, multiplication. It also teaches you to perform operations to find out the inverse, determinant, eigenvalue values, norm and singular value decomposition of a matrix. \subsection{Least square fit} -Tutorial required: \\ 4\_4\_least\_square\_fit.ogv \\ +Tutorial required: \\ 4.4. Least Square Fit. \\ Files required : pendulum.txt \\ This video teaches you how to generate the least square fit line for a given set of points. Before this tutorial, do remember to finish the tutorials on Using plot interactively, Loading data from the files and Getting started with arrays. \\ \\ \begin{enumcpt} @@ -159,19 +158,19 @@ This video teaches you how to generate the least square fit line for a given set Go through the general instructions as stated above before starting each module. This module has these features: \subsection{Basic datatypes and operators} -Tutorial required: \\ 5\_1\_basic\_datatypes\_and\_operators.ogv \\ +Tutorial required: \\ 5.1. Basic Datatypes and Operators. \\ This video teaches you about datatypes( Numbers, Boolean, Sequence), operators in python (Arithmetic Operators, Boolean Operators) and Python sequence datatypes(list,string,tuple). \subsection{Input and Output.} Go through the general instructions as stated below before starting each module. -Tutorial required: \\ 5\_2\_input\_output.ogv \\ +Tutorial required: \\ 5.2. Input / Output. \\ This video teaches you how to print some value, usage of modifiers, taking input from users and displaying a prompt to the user before taking the input. \subsection{Conditionals.} -Tutorial required: \\ 5\_3\_ conditionals.ogv \\ +Tutorial required: \\ 5.3. Conditionals. \\ This video teaches you how to use if/else blocks, if/elif/else blocks and usage of ternary conditional statements - C if X and Y. \subsection{Loops.} -Tutorial required: \\ 5\_4\_loops.ogv \\ +Tutorial required: \\ 5.4. Loops. \\ This video teaches you on loops in Python such as \textbf{for}, \textbf{while} and how to use \textbf{range()} function in for loop. \\ \begin{enumcpt} @@ -182,23 +181,23 @@ This video teaches you on loops in Python such as \textbf{for}, \textbf{while} a Go through the general instructions as stated above before starting each module. This module has these features: \subsection{Manipulating Lists.} -Tutorial required: \\ 6\_1\_manipulating\_lists.ogv \\ +Tutorial required: \\ 6.1. Manipulating "lists". \\ This video teaches you how to concatenate two lists, slicing and striding of lists and sort and reverse lists. \subsection{Manipulating Strings.} -Tutorial required: \\ 6\_2\_manipulating\_strings.ogv \\ +Tutorial required: \\ 6.2. Manipulating Strings. \\ This video teaches you how to slice strings and get sub-strings out of them, reverse strings, replace characters in strings, convert strings to upper case or lower case and join a list of strings. \subsection{Tuples.} -Tutorial required: \\ 6\_3\_tuples.ogv \\ +Tutorial required: \\ 6.3. Tuples. \\ This video teaches you what tuples are, comparison with lists,know why they are needed and where to use them. \subsection{Dictionaries.} -Tutorial required: \\ 6\_4\_dictionaries.ogv \\ +Tutorial required: \\ 6.4. Dictionaries. \\ This video teaches you how to create dictionaries, keys and values, checking for elements and iterating over elements. \subsection{Sets.} -Tutorial required: \\ 6\_5\_sets.ogv \\ +Tutorial required: \\ 6.5. Sets. \\ This video teaches you how to create sets from lists, perform union, intersection and symmetric difference operations, check if a set is a subset of other, understand various similarities with lists like length and containership.\\ \\ @@ -208,14 +207,14 @@ Go through the general instructions as stated below before starting each module. Instruction for this module: \emph{SciPy} package has to be installed from the package manager. This module has these features: \subsection{Getting started with functions.} -Tutorial required: \\ 7\_1\_getting\_started\_with\_functions.ogv \\ +Tutorial required: \\ 7.1. Getting started with "Functions". \\ This video teaches you how to define a function, defines functions with arguments, learn about docstrings, learn about function return value and reading, understanding the code. \subsection{Advanced features of a function.} -Tutorial required: \\ 7\_2\_advanced\_features\_of\_a\_function.ogv \\ +Tutorial required: \\ 7.2. Advanced features of "Functions". \\ This video teaches you how to assign default values to arguments, when defining and calling functions with keywords arguments, and to learn the built-in functions available in Python standard library and scientific computing libraries. \subsection{Using Python modules.} - Tutorials required: \\ 7\_3\_using\_python\_modules.ogv \\ + Tutorials required: \\ 7.3. Using "Python Modules". \\ Files required: \\sine.py \\ This video teaches you how to execute python scripts from command line, use import scripts, import scipy and pylab modules and use python standard modules and standard modules. \begin{enumcpt} @@ -223,10 +222,10 @@ This video teaches you how to execute python scripts from command line, use impo \end{enumcpt} \subsection{Writing Python scripts.} -Tutorials required: \\ 7\_4\_writing\_python\_scripts.ogv \\ +Tutorials required: \\ 7.4. Writing Python scripts. \\ This video teaches you what is importing, writing our own python modules, and understanding the idiom. \subsection{Testing and Debugging.} -Tutorials required: \\ 7\_5\_testing\_and\_debugging.ogv \\ +Tutorials required: \\ 7.5. Testing and Debugging. \\ Files required: \\gcd.py, lcmtestcases.txt, testcases.txt \\ This video teaches you what is software testing, test simple functions for their functionality, automate tests, needs for coding style, learn some of the standards followed by the Python community and handle errors and exceptions. \\ \\ \begin{enumcpt} |