golden hour
/lib64/python2.7/Demo/scripts
⬆️ Go Up
Upload
File/Folder
Size
Actions
README
1009 B
Del
OK
beer.py
459 B
Del
OK
beer.pyc
703 B
Del
OK
beer.pyo
703 B
Del
OK
eqfix.py
6.16 KB
Del
OK
eqfix.pyc
4.52 KB
Del
OK
eqfix.pyo
4.52 KB
Del
OK
fact.py
1.11 KB
Del
OK
fact.pyc
1.14 KB
Del
OK
fact.pyo
1.14 KB
Del
OK
find-uname.py
1.18 KB
Del
OK
find-uname.pyc
1.47 KB
Del
OK
find-uname.pyo
1.47 KB
Del
OK
from.py
874 B
Del
OK
from.pyc
749 B
Del
OK
from.pyo
749 B
Del
OK
lpwatch.py
2.77 KB
Del
OK
lpwatch.pyc
2.54 KB
Del
OK
lpwatch.pyo
2.54 KB
Del
OK
makedir.py
510 B
Del
OK
makedir.pyc
732 B
Del
OK
makedir.pyo
732 B
Del
OK
markov.py
3.51 KB
Del
OK
markov.pyc
3.93 KB
Del
OK
markov.pyo
3.93 KB
Del
OK
mboxconvert.py
3.11 KB
Del
OK
mboxconvert.pyc
3.17 KB
Del
OK
mboxconvert.pyo
3.17 KB
Del
OK
morse.py
4.21 KB
Del
OK
morse.pyc
4.33 KB
Del
OK
morse.pyo
4.33 KB
Del
OK
newslist.doc
2.36 KB
Del
OK
newslist.py
11.17 KB
Del
OK
newslist.pyc
7.55 KB
Del
OK
newslist.pyo
7.55 KB
Del
OK
pi.py
888 B
Del
OK
pi.pyc
921 B
Del
OK
pi.pyo
921 B
Del
OK
pp.py
3.73 KB
Del
OK
pp.pyc
2.28 KB
Del
OK
pp.pyo
2.28 KB
Del
OK
primes.py
603 B
Del
OK
primes.pyc
921 B
Del
OK
primes.pyo
921 B
Del
OK
queens.py
2.19 KB
Del
OK
queens.pyc
2.95 KB
Del
OK
queens.pyo
2.95 KB
Del
OK
script.py
962 B
Del
OK
script.pyc
1.21 KB
Del
OK
script.pyo
1.21 KB
Del
OK
unbirthday.py
3.07 KB
Del
OK
unbirthday.pyc
2.93 KB
Del
OK
unbirthday.pyo
2.93 KB
Del
OK
update.py
2.69 KB
Del
OK
update.pyc
2.69 KB
Del
OK
update.pyo
2.69 KB
Del
OK
Edit: newslist.doc
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