Hello
I am looking for pointers on good WxPython Application architecture,
style, operations & practices. Would anyone be able to provide any
advice?
When I mean pointers & advice I mean:
- If I have an application that is just one window/frame with a series
of buttons & text controls("components"), what is considered better
practice, to group & place all these components on a main Panel, or on
a main Canvas, a main container(is there such a thing in WxPython), or
Nothing(if that is possible)?
- Is it bad practice to do this "from wx import *", is it better or
good coding style to do this instead "import wx"?
- Because functions in wxPython have the format ThisIsFunction() as
opposed to this_is_function(), should all my variable names &
functions be in that same format? Or do I follow normal python
standards & declare a variable "a_variable".
- Any advice for when coding large applications? For eg, split up the
application by components then have then interact w each other, so
make a MenuPanel (extension of a wx.Panel), TextDisplayCtrl(extension
of a wx.RichTextCtrl), etc.