how should i use this function?

Gandalf goldnery at gmail.com
Wed Jun 4 18:58:47 EDT 2008


On Jun 4, 11:46 pm, "David C. Ullrich" <dullr... at sprynet.com> wrote:
> In article
> <f87fa9ad-f048-4728-a9a9-8845fe376... at a1g2000hsb.googlegroups.com>,
>
>  Gandalf <goldn... at gmail.com> wrote:
> > On Jun 4, 8:21 pm, sturlamolden <sturlamol... at yahoo.no> wrote:
> > > On Jun 4, 8:14 pm, Gandalf <goldn... at gmail.com> wrote:
>
> > > > I tried to import win32ui.PyCRichEditCtrl, But the shell told me
> > > > their's no such module.
>
> > > There isn't, as it is a class. win32ui is a module. If you cannot
> > > import that, you don't have pywin32 installed. Go get it from
> > > Sourceforge.
>
> > But I pywin32 use it all the time i have pywinauto
>
> And, as I seem to recall someone saying once, win32ui.PyCRichEditCtrl
> is not a module so you can't import it. You can say
>
> from win32ui import PyCRichEditCtrl
>
> Or you can say
>
> import win32ui
>
> and then reference win32ui.PyCRichEditCtrl .
>
> --
> David C. Ullrich

OK you right, but it still doesn't work. PyCRichEditCtrl is probably
not the correct object



More information about the Python-list mailing list