Re: [Tutor] class accessing another's updated property

2007-11-15 Thread Yoram Hekma
ss, not the class itself. If you do: class Two: def __init__(self): self.value = 1 def update(self): self.value = 9 class One: def __init__(self): self.value = 3 instance_of_Two = Two() def getTwo(self): print "testTwo's value", insta

Re: [Tutor] retrieve data from an online database without knowing the url

2007-11-15 Thread Yoram Hekma
gle.com, and then post the search values to the form. If you look at the form on google.com (from source) you see the following: --snip-- --snip-- For example: import urllib search_string = 'cars' encoded_search_string = urllib.urlencode({'q': search_