Formatting Text in a Table in Python
问题 I'm having issues creating a table that is dynamic to adjust to various results. I've written a screen scraper to pull stocks from http://finance.yahoo.com and print the company name, it's symbol, and it's current stock price. However the output looks like this: Microsoft Corporation MSFT 29.76 Apple Inc. AAPL 396.77 SPDR S&P 500 SPY 155.25 Google Inc. GOOG 787.76 I want it to look like Microsoft Corporation MSFT 29.76 Apple Inc. AAPL 396.77 SPDR S&P 500 SPY 155.25 Google Inc. GOOG 787.76 I