title: xl.Workbook() (pyvot) doesn't open an excel workbook
body: <p>I would like to create an excel workbook with <a href="http://packages.python.org/Pyvot/tutorial.html" rel="nofollow">pyvot</a> as in <a href="http://www.youtube.com/watch?v=Oi3QKuFugWk&amp;hd=1" rel="nofollow">this tutorial</a> . 
  Pyvot is installed correctly because I can import it without an error. But when I do:</p>
  
  <pre><code>import xl
  xl.Workbook()
  </code></pre>
  
  <p>I  get this error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "", line 1, in 
  AttributeError: 'module' object has no attribute 'workbook'
  &gt;&gt;&gt; xl.Workbook()
  Traceback (most recent call last):
    File "", line 1, in 
    File "C:\Python27\lib\site-packages\pyvot-0.1.2-py2.7.egg\xl\sheet.py", line 91, in     __init__
      excel = win32.gencache.EnsureDispatch('Excel.Application')
    File "C:\Python27\lib\site-packages\win32com\client\gencache.py", line 529, in EnsureDispatch
      disp = win32com.client.Dispatch(prog_id)
    File "C:\Python27\lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch
      dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
    File "C:\Python27\lib\site-packages\win32com\client\dynamic.py", line 108, in _GetGoodDispatchAndUserName
      return (_GetGoodDispatch(IDispatch, clsctx), userName)
    File "C:\Python27\lib\site-packages\win32com\client\dynamic.py", line 85, in _GetGoodDispatch
      IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
  com_error: (-2147221005, 'Invalid class string', None, None)
  </code></pre>
  
  <p>I don't have Python tools for visual studio installed though. </p>
  
  <ol>
  <li><p>Do I need Python tools for visual studio (PTVS) to work with pyvot?</p></li>
  <li><p>Could lower versions of excel then excel 2010(e.g. excel 2007) work with pyvot?</p></li>
  <li><p>Do I need to set anything up in excel to make it work with pyvot?</p></li>
  </ol>
  
  <p>If the answer of one of the questions above did not explain why I couldn't make that code snippet work, what should I do to get it working correctly? </p>
  
  <hr>
  
  <p>I have installed excel 2010. Pyvot is installed correctly because I don't get any errors when I do <code>import xl</code>. When I type the following in pywin32:</p>
  
  <pre><code>import xl
  xl.Workbook()
  </code></pre>
  
  <p>I get this NameError:</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;interactive input&gt;", line 1, in &lt;module&gt;
  NameError: name 'xl' is not defined
  </code></pre>
  
  <p>Does anyone know why?</p>