[Tutor] (no subject)
wong chow cheok
wong_chow_cheok@hotmail.com
Wed, 28 Mar 2001 09:32:00 +0800
hai. I am a student currently doing training and am using python. i ahve
this problem. i am trying yo open the source code for a page and extract
certain information on it for example : the temperature for the day and the
title of the page.
>>>import urllib
>>>f=urllib.urlopen("http://www.kjc.gov.my/cgi-bin/fcastdisplay.cgi?lang=EN")
>>>print f.read()
this is the program but whenever i try to enter parameters it still outputs
the whole source code. how do i do it?
thank you for your help
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.