makepy.py not working
Konstantin Veretennicov
kveretennicov at gmail.com
Tue Apr 8 18:22:47 EDT 2008
On Tue, Apr 8, 2008 at 4:18 PM, <suzhi18 at googlemail.com> wrote:
> Hallo,
>
> I've a problem getting makepy running. When I start the tool on my
> machine with doubleclick everything is fine.
> But when I try this in my Code:
>
> makepy.py -i "Microsoft Excel 11.0 Object Library(1.5)"
This syntax is used to run makepy.py script from command line.
>
> I am getting an Syntax Error and command:
>
> makepy.py
>
> bring me this message on the screen:
>
> Traceback (most recent call last):
> File "<interactive input>", line 1, in <module>
> NameError: name 'makepy' is not defined
>
> Any ideas what I am doing wrong?
Python interpreter obviously accepts only valid python code, like this:
import win32com.client.makepy
win32com.client.makepy.ShowInfo("Microsoft Excel 11.0 Object Library(1.5)")
--
kv
More information about the Python-list
mailing list