Ok, thanks for your help. After looking into the makepy.py file it was clear that this is only a command for the CMD console.
I want to write a function which generates this .py file of the excel objects. I will now send the command to the CMD threw my python code. thanks again. suzhi -- http://mail.python.org/mailman/listinfo/python-list