There are a number of standard methods that I use when implementing formatted output from within a Python script. If I want something out of the ordinary, I usually search the Internet for an example or two. Today I stumbled upon a site that just became my-got-to for output formatting:
The tutorial provided there is very complete. An excellent reference!