I'm new to Python, so my question may sounds naive. Here is it. I have a text file like this:
www.a.com www.b.com www.c.com ... I want to read one line from this file at a time, which I know how to do. And use it as an argument to a command, for example, telnet www.a.com and so on. However I have no idea how to do this task. My purpose is to generate a brief report. Thank you in advance. -- http://mail.python.org/mailman/listinfo/python-list