[wxPython-users] Best practice to rganize the code

Tim van der Leeuw tnleeuw at gmail.com
Mon Mar 17 08:04:49 PDT 2008


On Mon, Mar 17, 2008 at 8:04 AM, Peter Damoc <pdamoc at gmail.com> wrote:

> Actually there is a library that does something like this:
>
> http://code.google.com/p/wxpita/
>
> When dealing with code complexity I try to think about 2 things:
> 1. How can I turn this into an API
> 2. How can I turn this into Ravioli
>
> I fail miserably most of the time... but when I succeed is rather nice.
>
> Peter.
>

The sample on the front-page looks really sweet. Since wxpita is a wrapper
around wxPython, how well does wxpita code mix with plain direct wxPython
code?

Can I gradually add / introduce this in a program, or should I start my
program afresh using this?

I'm not sure I'll actually use much of it because I use wxGlade to generate
code for GUI classes. However, sometimes I need to manually take care of
some components or event-bindings.
It might make life quite a lot easier if I take the Pythonic approach of
wxpita for those components, rather than try to convert the full program
when anyways nearly all of that code is generated for me...


Cheers,

--Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200803=
17/58d9af58/attachment.htm


More information about the wxpython-users mailing list