Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #105321

Re: Output format

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Newsgroups comp.lang.python
Subject Re: Output format
Date 2016-03-21 00:23 +0000
Message-ID <mailman.419.1458519848.12893.python-list@python.org> (permalink)
References <e3e6b58e-23f3-4d93-b68a-0e681b042786@googlegroups.com>

Show all headers | View raw


On 20/03/2016 23:37, vernleffler@gmail.com wrote:
> I can't find a formatting way to get columns of data.
>

Take your pick from:-

https://docs.python.org/3/library/stdtypes.html#string-methods

https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting

https://docs.python.org/3/library/string.html#string-formatting

https://docs.python.org/3/library/string.html#template-strings

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Output format vernleffler@gmail.com - 2016-03-20 16:37 -0700
  Re: Output format Joel Goldstick <joel.goldstick@gmail.com> - 2016-03-20 19:56 -0400
  Re: Output format Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-03-20 19:56 -0400
  Re: Output format Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-03-21 00:23 +0000
    Re: Output format Rustom Mody <rustompmody@gmail.com> - 2016-03-20 23:49 -0700
  Re: Output format Alphwe <alphwe@gmail.com> - 2016-03-20 23:09 -0700

csiph-web