Changeset 14104 for fact/tools/pyscripts


Ignore:
Timestamp:
06/07/12 11:07:55 (12 years ago)
Author:
neise
Message:
some more examples
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/pyscripts/doc/getting_started.rst

    r14102 r14104  
    195195or loop over the file::
    196196
    197   counter = 0
    198197  for row in file::
    199     if counter > 10:
    200       break
    201    
    202198    print row.Time, row. OnTime
    203     counter += 1
     199
     200*row* is just be a copy of *file*, but inside the for loop, I think it is
     201convenient to access members of *raw* rather than members of *file*.
     202I is just easier to understand for the reader, I think.
    204203
    2052047. Old way of creating the so files
Note: See TracChangeset for help on using the changeset viewer.