On Tue, Apr 8, 2008 at 4:18 PM, <[EMAIL PROTECTED]> 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 _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32