"sterling" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm curious as to why the difference between IDLE and pythonWin when > using win32com. > opening an excel file, i've attempted to grab the chart information > out of the file. > > commands like co = ChartObjects(1) works in pythonWin but doesn't > work in IDLE. > > however, on both co = chartobjects(1) works just fine. > > The same goes other things like SeriesCollection()/ > seriescollection(1),seriescollection(2)..., Close()/close > > Is there any way to fix it such that IDLE works with ChartObject() > too? I'd really like to be able to use ChartObject().Count() (there > doesn't seem to be an equivalent chartobject.count) > > Thanks.
This was probably due to a conflict with the way IDLE sets the locale. Bug report here: http://sourceforge.net/tracker/index.php?func=detail&aid=2006053&group_id=78018&atid=551954 This is fixed in build 212, just released today. Roger -- http://mail.python.org/mailman/listinfo/python-list