python - Populate wx.StaticText controls with dictionary key:value pairs -
i have wxpython gui application contains 13 pairs of statictext controls able set labels problematically. in terms of regression analysis, each pair of statictext controls represents independent variable , coefficient. these key:value pairs stored in python dictionary, allowing me use dictionary comprehension of work. right now, struggling display contents of python dictionary inside of gui. thoughts? i happy concatenating key:value pair inside 1 statictext control label, think less messy. i'm sure there lots of different ways this. use listctrl or better yet, objectlistview. went ahead , created example using statictext controls: import wx ######################################################################## class mypanel(wx.panel): """""" #---------------------------------------------------------------------- def __init__(self, parent): """constructor""" wx.panel.__in...