> I just want to make macro automated using python. I googled and found
> win32com is one package used to do that, but it is for windows. I am
> using Linux and pyexcelerator package to write in excel, is there any
> possibility that we can automate a MACRO using python, is tre any
> specific package kind of stuff used for it.
>
Depends entirely on what you mean by "automate a MACRO using python".
Here are some possible interpretations:
(1) You want to recreate the effect of a sequence of operations in the
Excel application on an Excel workbook or set of Excel workbooks. The
xlrd, xlwt and xlutils packages contain plenty of ways to do this,
depending on what those operations are.
(2) You want to run some pre-existing VBA code in an Excel workbook
from python. You'll need to use COM via win32com.
(3) You want to call to the python interpreter from within Excel,
maybe to perform the sequence of operations from (1). Possible -
there's an example at
http://blog.gobansaor.com/2010/02/07/xlite-beta-updated-adds-python-as-an-excel-scripting-language/
Which of these sounds closest to what you want to do?
> If macro automation is not possible, is there any way to make drop
> down box in excel... If i can do this i can make the viewers of my
> excel to feel as if i have added a macro.
>
There are many ways to place a drop-down box on an Excel worksheet,
via Data Validation, an MS Forms Combobox, an Activex Combobox... the
most appropriate depends on what you wish the drop-down box to do.