[python-win32] Reading .py or .pyc from an excel sheet
mhammond at skippinet.com.au
Tue Feb 5 01:18:36 CET 2008
It might be necessary to execute win32com\servers\interp.py to register the object (which inturn might not work if you installed Python without admin privs or selected "just for me")
From: python-win32-bounces at python.org [mailto:python-win32-bounces at python.org] On Behalf Of Tim Johnson
Sent: Tuesday, 5 February 2008 10:23 AM
To: Tim Golden
Cc: python-win32 at python.org
Subject: Re: [python-win32] Reading .py or .pyc from an excel sheet
My machine doesn't seem to recognize Python.Interpreter. Is there some prerequisite that I could be missing?
On Feb 4, 2008 1:21 AM, Tim Golden <mail at timgolden.me.uk> wrote:
Pallavi Apotikar wrote:
> I am sorry, instead of "file", I should have said "a python function".
> Is it possible to access/use a python function from Excel VB Editor e.g. a
> library function called "eval()" is used to detect whether the
> expression/datatype is a valid python expression/datatype ? Can we do
Well as far as I can see, there's nothing to stop you instantiating
a Python interpreter via COM from Excel (class name is
"Python.Interpreter") and then use .Eval or .Exec to do things.
I'm not sure just how much this will buy you, but it should at
least be possible.
python-win32 mailing list
python-win32 at python.org
Ceci n'est pas un email.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the python-win32