Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!multikabel.net!newsfeed20.multikabel.net!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.067 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'output': 0.05; 'linux,': 0.07; 'window.': 0.09; 'cc:addr:python-list': 0.11; "(it's": 0.16; 'bryan': 0.16; 'subject:Lines': 0.16; 'wrote:': 0.18; 'command': 0.22; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'file.': 0.24; 'question': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'script': 0.25; 'asking': 0.27; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'idea': 0.28; 'appreciated.': 0.29; 'feature': 0.29; 'words': 0.29; 'have,': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; '25,': 0.31; 'libraries': 0.31; 'pipe': 0.31; 'question:': 0.31; 'allows': 0.31; 'file': 0.32; 'thanks!': 0.32; 'url:python': 0.33; "i'd": 0.34; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'should': 0.36; 'too': 0.37; 'list': 0.37; 'skip:& 10': 0.38; 'pm,': 0.38; 'that,': 0.38; 'either': 0.39; 'url:mail': 0.40; 'how': 0.40; 'simple': 0.61; 'group,': 0.63; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'incorporate': 0.68; 'insight': 0.68; 'prompt': 0.68; 'hey,': 0.75; 'counts': 0.83; 'myself)': 0.84; 'joel': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=029k3+whyjvrVCk7e8qWMQ5jtqwTMshI1+RnBTDiYXw=; b=RnjO7l0G1y36mvcZZOzRo9Ps54docxpETsMUbyRGAZyyT4J5zSJiKZ2oye1Khex5NC +dxpfjOikqmXiTkMZLzO0cKIhGLrBmPUBQKK5+sL1USVkvFSaYZtfUfvTUxoraYsLyeC ChLBIDgsNDUaQMWSOVlRgfEzNS2SxbfmtCNqyYo/lRx4LAJ2Yhi7zXlPB00WUbmn9+v+ TOX+7NKT1esPu5b+3Vlj4/jCTS7bLapoyDBZs6d14VZ7ifVNJjl12skC/snbhS/bSqEQ iNbVUubuZFNQL4tZwbIEAXDx1NppRyLl7rSERHrBULmx/TSXUw17feTTHSHYDz5CFQhF WiPw== MIME-Version: 1.0 X-Received: by 10.220.164.138 with SMTP id e10mr441157vcy.27.1372191536623; Tue, 25 Jun 2013 13:18:56 -0700 (PDT) In-Reply-To: <0cb638ec-a4bd-4a45-b98c-a7c76996bab7@googlegroups.com> References: <0cb638ec-a4bd-4a45-b98c-a7c76996bab7@googlegroups.com> Date: Tue, 25 Jun 2013 16:18:56 -0400 Subject: Re: Limit Lines of Output From: Joel Goldstick To: Bryan Britten Content-Type: multipart/alternative; boundary=001a11c1dfbc1ab65504e0003df9 Cc: "python-list@python.org" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 63 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372191538 news.xs4all.nl 15959 [2001:888:2000:d::a6]:57704 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:49185 --001a11c1dfbc1ab65504e0003df9 Content-Type: text/plain; charset=UTF-8 On Tue, Jun 25, 2013 at 4:09 PM, Bryan Britten 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 --001a11c1dfbc1ab65504e0003df9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



On Tue, Jun 25, 2013 at 4:09 PM, Bryan Britten &l= t;britten.brya= n@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 comm= and prompt window. What I'd like to be able to do is incorporate the &q= uot;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 be= cause a Google search yielding nothing.

Any insight would be appreciated. Thanks!
--
http://mail.python.org/mailman/listinfo/python-list

If yo= u are using linux, you should look up the comand 'less'.=C2=A0 It a= llows you to page thru a test file.=C2=A0 You can either write your list to= a file or pipe it into less (haven't tried that myself)

--
--001a11c1dfbc1ab65504e0003df9--