import urllib2
import re

source=urllib2.urlopen("http://www.accuweather.com/en/in/calcutta/206690/weather-forecast/206690")

text=source.read()
print("<------------------------WEATHER REPORT: KOLKATA--------------------------->")
regex='<strong class="temp">(.+?)<span>(.+?)</span></strong>'
regex1='<span class="cond">(.+?)</span>'
pattern=re.compile(regex)
pattern1=re.compile(regex1)
price=re.findall(pattern,text)
price1=re.findall(pattern1,text)
print "Temperature is: ",price[0][0]," degree celcius"
print "Condition :",price1[0]

@@ -19,16 +19,110 @@
 ort re%0A%0A
+city=raw_input(%22Enter City:%22)%0A%0Aif(city==%22Kolkata%22 or city==%22kolkata%22 or city==%22KOLKATA%22):%0A    
 source=u
@@ -212,16 +212,479 @@
 06690%22)%0A
+elif(city==%22Bangalore%22 or city==%22bangalore%22):%0A    source=urllib2.urlopen(%22http://www.accuweather.com/en/in/bangalore/204108/weather-forecast/204108%22)%0Aelif(city==%22Delhi%22):%0A    source=urllib2.urlopen(%22http://www.accuweather.com/en/in/delhi/202396/weather-forecast/202396%22)%0Aelif(city==%22Chennai%22):%0A    source=urllib2.urlopen(%22http://www.accuweather.com/en/in/chennai/206671/weather-forecast/206671%22)%0A%0Aelse:%0A    print %22City not in Database.Choose a different one.%22%0A%0A%0A%0A
 %0Atext=so
@@ -743,23 +743,32 @@
 REPORT: 
-KOLKATA
+%22+city.upper()+%22
 --------

update Weather_Forecast