How to find wxPython method documentation??
Mike Driscoll
kyosohma at gmail.com
Thu Feb 5 09:07:21 EST 2009
On Feb 4, 5:49 pm, andrew cooke <and... at acooke.org> wrote:
> On Feb 4, 8:06 pm, len <lsumn... at gmail.com> wrote:
>
> > How does one find the methods that are available in the classes.
>
> heh. welcome to the wonderful world of wxpython :o(
>
> if you use eclipse to edit your code, then (providing the wind is in
> the right direction and the file you are editing doesn't have any
> syntax errors) pressing F3 when you are on a particular method will
> take you to the definition. or, at least, one of the definitions with
> that name.
>
> and if you want to see a list of available methods the simplest way is
> to use tab completion (or dir() in python itself).
>
> if you're not using eclipse (with pydev) check to see if the ide/
> editor you are using has something similar.
>
> also, wxpython comes with some examples, all packaged in a demo
> program. that is your best source of documentation. go through all
> the examples in there and look at the code (the demo program will show
> you the code and even let you edit it and see the results of your
> changes).
>
> to be honest, wxpython is a bit of a nightmare (imho). but the results
> can be worth it.
>
> good luck,
> andrew
I don't think the docs are any worse than any other complicated third
party package. Reportlab comes to mind...and the wxPython list members
are very helpful.
Mike
More information about the Python-list
mailing list