Newbie question: matching

Gabriel Cooper gabriel.cooper at mediapulse.com
Fri Apr 16 11:13:39 EDT 2004



josh R wrote:

>Hi all,
>
>I am trying to write some python to parse html code.  I find it easier
>to do in perl, but would like to learn some basic python.  My code
>looks like this:
>  
>
You will be doing yourself a disservice if you do this by hand. Check 
out http://www.diveintopython.org/ .. it's a free online book (also 
available in print). Jump to the chapter on XML parsing. You'll save 
yourself loads of time and effort, and you'll take advantage of the 
python libraries. After all, python *is* supposed to be "batteries 
included."




More information about the Python-list mailing list