[wxPython-users] Best practice to rganize the code
Stef Mientki
s.mientki at ru.nl
Mon Mar 17 07:35:09 PDT 2008
thanks Peter,
I'll take a look at that.
cheers,
Stef
Peter Damoc 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.
>
> On Sun, Mar 16, 2008 at 7:30 PM, Stef Mientki <s.mientki at ru.nl
> <mailto: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
> <mailto:wxPython-users-unsubscribe at lists.wxwidgets.org>
> For additional commands, e-mail:
> wxPython-users-help at lists.wxwidgets.org
> <mailto:wxPython-users-help at lists.wxwidgets.org>
>
>
>
>
> --
> There is NO FATE, we are the creators.
Het UMC St Radboud staat geregistreerd bij de Kamer van Koophandel in het handelsregister onder nummer 41055629.
The Radboud University Nijmegen Medical Centre is listed in the Commercial Register of the Chamber of Commerce under file number 41055629.
More information about the wxpython-users
mailing list