[python-win32] Reading .py or .pyc from an excel sheet

Tim Johnson tojo2000 at gmail.com
Tue Feb 5 01:10:17 CET 2008


I started out just trying it via vbscript, but when I use the code you
provided I get

Run-time error '429':

ActiveX component can't create object.

I'm guessing there's a .dll or something not registered somewhere.  I'll do
some more digging.

On Feb 4, 2008 4:01 PM, Tim Roberts <timr at probo.com> wrote:

> Tim Johnson wrote:
> > My machine doesn't seem to recognize Python.Interpreter.  Is there
> > some prerequisite that I could be missing?
>
> What did you try?  I just went into the Excel VBA editor and created a
> function with this:
>    Dim x As Object
>    Set x = CreateObject("Python.Interpreter")
>
> It seemed to work OK, although I didn't actually try to use the object..
>
> --
> Tim Roberts, timr at probo.com
> Providenza & Boekelheide, Inc.
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>



-- 
_____________________
Ceci n'est pas un email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20080204/06c72dcf/attachment.htm 


More information about the python-win32 mailing list