title: What is a element's reationship to its list
body: <p>I have a list</p>
  
  <pre><code>myList=[1,2,3,4]
  </code></pre>
  
  <p>I want to access '1' (i.e the first element of <code>myList</code>).</p>
  
  <p><code>myList</code> is an instance of class/type <code>list</code> &amp; has its own datamembers/attributes <code>[1,2,3,4]</code></p>
  
  <p>so some way I must be able to access '1' with reference to <code>myList</code> (instance)</p>
  
  <pre><code>&gt;&gt;&gt;EG: myList.__datamemeber__.iteritems()
  </code></pre>
  
  <p>Note: I know I can do </p>
  
  <pre><code>&gt;&gt;&gt;for i in myList:
  </code></pre>
  
  <p><strong>Edit</strong>
  Okay my doubt was</p>
  
  <p>1) is <code>myList</code> an instance of class/type <code>list</code> ?</p>
  
  <p>2) if so what is '1' ,'2' ... of  <code>myList</code> ?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Okay so I was trying to read a CSV with DictReader</p>
  
  <pre><code>&gt;&gt;&gt;reader = csv.DictReader(ifile)
  </code></pre>
  
  <p>now I want to know if 'reader' is empty</p>
  
  <p>so I thought if I could get a element of DictReader &amp; see if its null</p>
  
  <p>I can get all the lines</p>
  
  <pre><code>&gt;&gt;&gt;for line in reader:
  </code></pre>
  
  <p><strong>I want to know if 'reader' is empty.Also if I get an instance (like <code>reader</code>) can I get the elements of it.</strong></p>