On Sun, 25 Dec 2005 17:39:14 -0800, homepricemaps wrote:
if i do the following i get the url of an image i am looking for
image = ""
image = bs.img
print image
image = "" is a pointless operation in the above snippet.
What is bs and bs.img? How does it know what URL you are looking for?
however if i do this
out.write (image )
What is out?
i get an error that says "nonetype error is not callable"
I doubt that.
You are probably getting an exception that says:
TypeError: 'NoneType' object is not callable
Case is significant in Python -- NoneType is a built-in Python object,
nonetype could be anything you programmed it to be. Please don't
paraphrase error messages, copy and paste the exact message.
If you are getting a TypeError, that might mean that somehow, somewhere,
you have assigned out.write = None.
--
Steven.