extracting contents from a text file

Terry Reedy tjreedy at udel.edu
Sun Jun 13 00:59:01 CEST 1999

In article <375B5880.992B0C6C at mediamanager.com.sg>, john at mediamanager.com.sg 

>I would like to extract the text contents residing in another server and
>display it as html format using python. Can anyone help me I am new to

You need three separate modules to 
1. retrieve text file (1 of url libs or possible FTP lib);
2. process file (hope string or re rather than parser is sufficient);
3. write html (for instance, HTMLgen on starship site -- see python.org).

TJ Reedy

More information about the Python-list mailing list