I'm new to NNTPLib (and Python) and I'm experiencing some behavior I can't understand. I'm writing a program to analyze newsgroup subject which will then produce statistics on topics discussed. For my example, I'm using this group (comp.lang.python) and trying to simply print out all of the subjects listed in the group.
This is the code I'm using: resp, count, first, last, name = server.group('comp.lang.python') resp, items = server.xover(first, last) for subject in items: resp, subject = server.xhdr('subject', first, last) print subject While the loop will indeed LOOP through all of the items, the print statement generates unprintable character (they look like [] in the terminal window. What am I doing wrong? I've looked at the doc and it looks like this is how I'd call it. Am I missing something? Thanks! Anthony -- http://mail.python.org/mailman/listinfo/python-list