title: Can I run VBA functions in Python?
body: <p>Is it possible to import and run VBA functions in Python?</p>
  
  <p>For example, let <code>mymodule.bas</code> include the following function:</p>
  
  <pre class="lang-vb prettyprint-override"><code>Function AddTwoNumbers(ByVal Alpha As Variant, ByVal Beta As Variant) As Variant
    AddTwoNumbers = (Alpha + Beta)
  End Function
  </code></pre>
  
  <p>Is there an extension I can use to interface to such function using Python? I was thinking of using <code>pywin32</code> but it is not clear to me whether this only works with vba functions inside a MS Excel spreadsheet.</p>