/
usr
/
lib64
/
python2.6
/
Demo
/
scripts
/
/usr/lib64/python2.6/Demo/scripts
mkdir
upload
Name
Size
Mode
Actions
beer.py
426
0644
edit
dl
rm
beer.pyc
712
0644
edit
dl
rm
beer.pyo
712
0644
edit
dl
rm
eqfix.py
6314
0755
edit
dl
rm
eqfix.pyc
4720
0644
edit
dl
rm
eqfix.pyo
4720
0644
edit
dl
rm
fact.py
1112
0755
edit
dl
rm
fact.pyc
1126
0644
edit
dl
rm
fact.pyo
1126
0644
edit
dl
rm
find-uname.py
1209
0644
edit
dl
rm
find-uname.pyc
1546
0644
edit
dl
rm
find-uname.pyo
1546
0644
edit
dl
rm
from.py
877
0755
edit
dl
rm
from.pyc
762
0644
edit
dl
rm
from.pyo
762
0644
edit
dl
rm
ftpstats.py
4580
0755
edit
dl
rm
ftpstats.pyc
3962
0644
edit
dl
rm
ftpstats.pyo
3962
0644
edit
dl
rm
lpwatch.py
3203
0755
edit
dl
rm
lpwatch.pyc
2741
0644
edit
dl
rm
lpwatch.pyo
2741
0644
edit
dl
rm
makedir.py
513
0755
edit
dl
rm
makedir.pyc
739
0644
edit
dl
rm
makedir.pyo
739
0644
edit
dl
rm
markov.py
3749
0755
edit
dl
rm
markov.pyc
4391
0644
edit
dl
rm
markov.pyo
4391
0644
edit
dl
rm
mboxconvert.py
3192
0755
edit
dl
rm
mboxconvert.pyc
3301
0644
edit
dl
rm
mboxconvert.pyo
3301
0644
edit
dl
rm
mkrcs.py
1822
0755
edit
dl
rm
mkrcs.pyc
1519
0644
edit
dl
rm
mkrcs.pyo
1519
0644
edit
dl
rm
morse.py
4333
0644
edit
dl
rm
morse.pyc
4497
0644
edit
dl
rm
morse.pyo
4497
0644
edit
dl
rm
newslist.doc
2418
0755
edit
dl
rm
newslist.py
11363
0755
edit
dl
rm
newslist.pyc
7920
0644
edit
dl
rm
newslist.pyo
7920
0644
edit
dl
rm
pi.py
931
0755
edit
dl
rm
pi.pyc
931
0644
edit
dl
rm
pi.pyo
931
0644
edit
dl
rm
pp.py
3971
0755
edit
dl
rm
pp.pyc
2444
0644
edit
dl
rm
pp.pyo
2444
0644
edit
dl
rm
primes.py
568
0755
edit
dl
rm
primes.pyc
947
0644
edit
dl
rm
primes.pyo
947
0644
edit
dl
rm
queens.py
2241
0755
edit
dl
rm
queens.pyc
3046
0644
edit
dl
rm
queens.pyo
3046
0644
edit
dl
rm
README
1043
0644
edit
dl
rm
script.py
786
0755
edit
dl
rm
script.pyc
1003
0644
edit
dl
rm
script.pyo
1003
0644
edit
dl
rm
unbirthday.py
3319
0755
edit
dl
rm
unbirthday.pyc
3042
0644
edit
dl
rm
unbirthday.pyo
3042
0644
edit
dl
rm
update.py
2753
0755
edit
dl
rm
update.pyc
2792
0644
edit
dl
rm
update.pyo
2792
0644
edit
dl
rm
wh.py
91
0644
edit
dl
rm
wh.pyc
153
0644
edit
dl
rm
wh.pyo
153
0644
edit
dl
rm
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 ----------------------------------------------------------------------
Save
cmd:
run