diff options
author | Shantanu | 2009-10-23 16:16:10 +0530 |
---|---|---|
committer | Shantanu | 2009-10-23 16:16:10 +0530 |
commit | e8fda67c5ae28ab82449487ac3b18395de3f8012 (patch) | |
tree | cccae45ab4cf241b31246df069e4a6686769f209 /day1/session3.tex | |
parent | f1de4e3f4bfc68caaa1a33203eab1dd8ebb0590f (diff) | |
parent | 70f194ca967d5a7f858634cf670120cf24954ce2 (diff) | |
download | workshops-more-scipy-e8fda67c5ae28ab82449487ac3b18395de3f8012.tar.gz workshops-more-scipy-e8fda67c5ae28ab82449487ac3b18395de3f8012.tar.bz2 workshops-more-scipy-e8fda67c5ae28ab82449487ac3b18395de3f8012.zip |
Merged branch with puneeth's branch.
Diffstat (limited to 'day1/session3.tex')
-rw-r--r-- | day1/session3.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/day1/session3.tex b/day1/session3.tex index 628c6a6..bca7e20 100644 --- a/day1/session3.tex +++ b/day1/session3.tex @@ -1,8 +1,8 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Tutorial slides on Python. +%Tutorial slides on Python. % -% Author: Prabhu Ramachandran <prabhu at aero.iitb.ac.in> -% Copyright (c) 2005-2009, Prabhu Ramachandran +% Author: FOSSEE +% Copyright (c) 2009, FOSSEE, IIT Bombay %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass[14pt,compress]{beamer} @@ -158,8 +158,8 @@ Machinery Required - In []: L = [] In []: T = [] In []: for line in open('pendulum.txt'): - .... len, t = line.split() - .... L.append(float(len)) + .... ln, t = line.split() + .... L.append(float(ln)) .... T.append(float(t)) \end{lstlisting} We now have two lists L and T |