[wxPython-users] Best practice to rganize the code

Peter Damoc pdamoc at gmail.com
Mon Mar 17 00:04:11 PDT 2008


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.

On Sun, Mar 16, 2008 at 7:30 PM, Stef Mientki <s.mientki at ru.nl> wrote:

>
>
> Mark Erbaugh wrote:
> > On Sat, 2008-03-15 at 15:08 +0000, Norbert Klamann wrote:
> >
> >> Hello List,
> >> i build a mildly complex wxPython App for the presentation of Loans.
> The
> >> application has the following structure
> >>
> >> Frame
> >> +- ButtonPanel
> >> +- Menu
> >> +- Splitterwindow
> >>    +- leftpanel
> >>    |    several Input Controls with labels
> >>    +- rightpanel
> >>       +- Notebook
> >>          +- overviewpanel
> >>          |    several Output Controls and labels
> >>          +- gridpanel
> >>          |    grid with numbers
> >>          +- plotpanel
> >>               matplotlib plot
> >>       +- errorpanel
> >>           several texts. This panel is visikle
> >>             instead of the Notebook if something goes wrong
> >>
> >> The whole thing works in principle but the code is a mess.
> A mess ....
> ... your  "code" above is really beautiful !!!
> Coming from Delphi,
> I can't imagine that no one has already made a routine
> to convert the above code into real working Python code.
> (As soon as I really understand sizers, I think I'll do it)
>
> cheers,
> Stef
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>


-- =

There is NO FATE, we are the creators.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200803=
17/9c42594a/attachment.htm


More information about the wxpython-users mailing list