[wxPython] Text Control formats

Hi folks

I have been struggling over the python and wxpython documentation for
something that I am sure is so simple I will bash myself over head for
asking, but....

I am trying to set up a format for a text control to display numeric data,
so:

how do I set right justification ?

and how would I set a number of decimal places, something like VB's
format(x,"X.0000") command?

Any clues would be appreciated.

Regards

Lynndon Harnell