Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #49185
| References | <0cb638ec-a4bd-4a45-b98c-a7c76996bab7@googlegroups.com> |
|---|---|
| Date | 2013-06-25 16:18 -0400 |
| Subject | Re: Limit Lines of Output |
| From | Joel Goldstick <joel.goldstick@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3844.1372191538.3114.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
On Tue, Jun 25, 2013 at 4:09 PM, Bryan Britten <britten.bryan@gmail.com>wrote: > Hey, group, quick (I hope) question: > > I've got a simple script that counts the number of words in a data set > (it's more complicated than that, but that's one of the functions), but > there are so many words that the output is too much to see in the command > prompt window. What I'd like to be able to do is incorporate the "More..." > feature that help libraries have, but I have no idea how to do it. I also > don't know if I'm asking the question correctly because a Google search > yielding nothing. > > Any insight would be appreciated. Thanks! > -- > http://mail.python.org/mailman/listinfo/python-list > If you are using linux, you should look up the comand 'less'. It allows you to page thru a test file. You can either write your list to a file or pipe it into less (haven't tried that myself) -- Joel Goldstick http://joelgoldstick.com
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Limit Lines of Output Bryan Britten <britten.bryan@gmail.com> - 2013-06-25 13:09 -0700
Re: Limit Lines of Output Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-25 16:18 -0400
Re: Limit Lines of Output Bryan Britten <britten.bryan@gmail.com> - 2013-06-25 13:22 -0700
Re: Limit Lines of Output Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-25 21:31 +0100
Re: Limit Lines of Output Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-25 16:33 -0400
Re: Limit Lines of Output Bryan Britten <britten.bryan@gmail.com> - 2013-06-25 13:37 -0700
Re: Limit Lines of Output Dave Angel <davea@davea.name> - 2013-06-25 22:27 -0400
Re: Limit Lines of Output Ian Kelly <ian.g.kelly@gmail.com> - 2013-06-25 14:39 -0600
Re: Limit Lines of Output Alister <alister.ware@ntlworld.com> - 2013-06-26 11:41 +0000
Re: Limit Lines of Output Gene Heskett <gheskett@wdtv.com> - 2013-06-25 17:48 -0400
Re: Limit Lines of Output Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-26 16:24 +0100
Re: Limit Lines of Output Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-26 16:46 +0000
Re: Limit Lines of Output Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-26 23:07 +0100
Re: Limit Lines of Output rusi <rustompmody@gmail.com> - 2013-06-26 10:09 -0700
Re: Limit Lines of Output Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-26 23:57 +0000
Re: Limit Lines of Output Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-27 13:54 +0100
Re: Limit Lines of Output Chris Angelico <rosuav@gmail.com> - 2013-06-27 01:58 +1000
csiph-web