title: pass argument to __enter__
body: <p>Just learning about with statements <a href="http://effbot.org/zone/python-with-statement.htm" rel="noreferrer">especially from this article</a></p>
  
  <p>question is, can I pass an argument to <code>__enter__</code>?</p>
  
  <p>I have code like this:</p>
  
  <pre><code>class clippy_runner:
      def __enter__(self):
          self.engine = ExcelConnection(filename = "clippytest\Test.xlsx")
          self.db = SQLConnection(param_dict = DATASOURCES[STAGE_RELATIONAL])
  
          self.engine.connect()
          self.db.connect()
  
          return self
  </code></pre>
  
  <p>I'd like to pass filename and param_dict as parameters to <code>__enter__</code>. Is that possible?</p>