/usr/lib64/python2.6/Demo/scripts
NameSizeModeActions
beer.py4260644editdlrm
beer.pyc7120644editdlrm
beer.pyo7120644editdlrm
eqfix.py63140755editdlrm
eqfix.pyc47200644editdlrm
eqfix.pyo47200644editdlrm
fact.py11120755editdlrm
fact.pyc11260644editdlrm
fact.pyo11260644editdlrm
find-uname.py12090644editdlrm
find-uname.pyc15460644editdlrm
find-uname.pyo15460644editdlrm
from.py8770755editdlrm
from.pyc7620644editdlrm
from.pyo7620644editdlrm
ftpstats.py45800755editdlrm
ftpstats.pyc39620644editdlrm
ftpstats.pyo39620644editdlrm
lpwatch.py32030755editdlrm
lpwatch.pyc27410644editdlrm
lpwatch.pyo27410644editdlrm
makedir.py5130755editdlrm
makedir.pyc7390644editdlrm
makedir.pyo7390644editdlrm
markov.py37490755editdlrm
markov.pyc43910644editdlrm
markov.pyo43910644editdlrm
mboxconvert.py31920755editdlrm
mboxconvert.pyc33010644editdlrm
mboxconvert.pyo33010644editdlrm
mkrcs.py18220755editdlrm
mkrcs.pyc15190644editdlrm
mkrcs.pyo15190644editdlrm
morse.py43330644editdlrm
morse.pyc44970644editdlrm
morse.pyo44970644editdlrm
newslist.doc24180755editdlrm
newslist.py113630755editdlrm
newslist.pyc79200644editdlrm
newslist.pyo79200644editdlrm
pi.py9310755editdlrm
pi.pyc9310644editdlrm
pi.pyo9310644editdlrm
pp.py39710755editdlrm
pp.pyc24440644editdlrm
pp.pyo24440644editdlrm
primes.py5680755editdlrm
primes.pyc9470644editdlrm
primes.pyo9470644editdlrm
queens.py22410755editdlrm
queens.pyc30460644editdlrm
queens.pyo30460644editdlrm
README10430644editdlrm
script.py7860755editdlrm
script.pyc10030644editdlrm
script.pyo10030644editdlrm
unbirthday.py33190755editdlrm
unbirthday.pyc30420644editdlrm
unbirthday.pyo30420644editdlrm
update.py27530755editdlrm
update.pyc27920644editdlrm
update.pyo27920644editdlrm
wh.py910644editdlrm
wh.pyc1530644editdlrm
wh.pyo1530644editdlrm
Edit: /usr/lib64/python2.6/Demo/scripts/newslist.doc (2418B)
NEWSLIST ======== A program to assist HTTP browsing of newsgroups ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ WWW browsers such as NCSA Mosaic allow the user to read newsgroup articles by specifying the group name in a URL eg 'news:comp.answers'. To browse through many groups, though, (and there are several thousand of them) you really need a page or pages containing links to all the groups. There are some good ones out there, for example, http://info.cern.ch/hypertext/DataSources/News/Groups/Overview.html is the standard one at CERN, but it only shows the groups available there, which may be rather different from those available on your machine. Newslist is a program which creates a hierarchy of pages for you based on the groups available from YOUR server. It is written in python - a splendid interpreted object-oriented language which I suggest you get right now from the directory /pub/python at ftp.cwi.nl, if you haven't already got it. You should be able to see some sample output by looking at: http://pelican.cl.cam.ac.uk/newspage/root.html Descriptions of newsgroups can be added from a file with one group per line. eg: alt.foo Articles about foo comp.bar Programming in 'bar' and related languages A suitable list detailing most groups can be found at ftp.uu.net in /uunet-info/newsgroups.gz. Make sure you read the information at the beginning of the program source and configure the variables before running. In addition to python, you need: An NNTP-based news feed. A directory in which to put the pages. The programming is not very beautiful, but it works! It comes with no warranty, express or implied, but with the hope that some others may find it useful. Comments, improvements & suggestions welcomed. Quentin Stafford-Fraser ---------------------------------------------------------------------- Quentin Stafford-Fraser http://pelican.cl.cam.ac.uk/people/qs101/me.html Cambridge University Computer Lab Rank Xerox Cambridge EuroPARC qs101@cl.cam.ac.uk fraser@europarc.xerox.com Tel: +44 223 334411 Tel: +44 223 341521 Fax: +44 223 334679 Fax: +44 223 341510 ----------------------------------------------------------------------