title: How to add islice function to python program?
body: <p>I am trying to use the islice function but am getting the following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "/Users/gavinnachbar/Session 3 copy/all_in_one_almost.py", line 168, in &lt;module&gt;
      all_decisions.extend(islice(reader,4))
  NameError: name 'islice' is not defined
  </code></pre>
  
  <p>I have imported itertools but am still getting the error, any idea why?</p>