Extracting data from an HTML table to a list or text file

Matthew Hirsch meh9 at cornell.edu
Sun Dec 15 10:24:21 EST 2002


Hi,

What would be the easiest way to extract the following data into a
list or a text file with columns?

Here is the link to the data:
http://co-ops.nos.noaa.gov/tides/get_pred.shtml?stn=6945+Kings+Point&secstn=Willets+Point&thh=+0&thm=03&tlh=+0&tlm=03&hh=*1.00&hl=*1.04

I tried using htmllib and formatter but the data isn't aligned
correctly.  Thanks for your help.

Matt



More information about the Python-list mailing list