Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #49224
| Date | 2013-06-25 22:27 -0400 |
|---|---|
| From | Dave Angel <davea@davea.name> |
| Subject | Re: Limit Lines of Output |
| References | <0cb638ec-a4bd-4a45-b98c-a7c76996bab7@googlegroups.com> <mailman.3844.1372191538.3114.python-list@python.org> <842bc651-0bed-45df-9a29-2049279f4434@googlegroups.com> <mailman.3846.1372192411.3114.python-list@python.org> <2d9f3f9a-6fee-42db-ad6e-acc7eaf7c195@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3874.1372213655.3114.python-list@python.org> (permalink) |
On 06/25/2013 04:37 PM, Bryan Britten wrote: > Joel - > > I don't want to send it to a text file because it's just meant to serve as a reference for the user to get an idea of what words are mentioned. The words being analyzed are responses to a survey questions and the primary function of this script is to serve as a text analytics program. Exporting the output to a text file would just be an unnecessary/undesirable step for the user. > Your subject says you want to limit the lines of output. So after 25 lines, quit the program. Not too hard. At the other extreme, your user wants to be able to scroll up or down within the hundreds of lines, seeing 25 at a time, and wants to be able to search for particular substrings, optionally with case-insensitivity, and wants to be able to sort them by some criteria, or copy/paste some portion elsewhere. Write a spec that limits what you want, or you'll never finish the project. And accept that if you want too much, you'll end up writing the equivalent of a text editor before you're done. -- DaveA
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