the last line i believe you mean
res is actually an instance of urlopen()
https://docs.python.org/2/library/urllib...b2.urlopen
read is a method that reads X number of bytes, with no args is the entire thing
https://docs.python.org/2/library/urllib2.html#examples
"email"You want to print the value of email, not the actual string "email"
res is actually an instance of urlopen()
https://docs.python.org/2/library/urllib...b2.urlopen
read is a method that reads X number of bytes, with no args is the entire thing
https://docs.python.org/2/library/urllib2.html#examples
Recommended Tutorials: