win32com ChartObject pythonwin vs idle

sterling sterlingsomers at gmail.com
Fri Aug 1 21:37:34 EDT 2008


On Jul 31, 11:22 pm, "Roger Upole" <rup... at hotmail.com> wrote:
> "sterling" <sterlingsom... at gmail.com> wrote in message
>
> news:670b57b7-d48e-44c0-abd0-b6772d23688d at 79g2000hsk.googlegroups.com...
>
>
>
>
>
> > 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&grou...
>
> This is fixed in build 212, just released today.
>
>           Roger- Hide quoted text -
>
> - Show quoted text -

Thanks for the tip Roger.  Installed 212 and it worked right away!



More information about the Python-list mailing list