title: What does "'module' object is not subscriptable" mean in the context of this code?
body: <p>Running test.py gives </p>
  
  <pre><code>Traceback (most recent call last):
    File "test.py", line 3, in &lt;module&gt;
      Map = Parser.Map(os.path[0] + "\\start.wmap")
  TypeError: 'module' object is not subscriptable
  </code></pre>
  
  <h2>Parser.py</h2>
  
  <pre><code>import configparser
  def StringIsNumber(String):
      try:
          int(String)
      except:
          return False
      return True
  class Map:
      Parser = configparser.RawConfigParser()
      MapURL = ""
      def __init__(self, Map):
          self.Parser.read(Map)
          self.MapURL = Map
      def TileTypes(self):
          #All numerical sections can be assumed to be tiles
          return [n for n in self.Parser.sections() if StringIsNumber(n)]
  </code></pre>
  
  <h2>test.py</h2>
  
  <pre><code>import Parser
  import os
  Map = Parser.Map(os.path[0] + "\\start.wmap")
  print(Map.TileTypes())
  </code></pre>