print is now a function
urlencode import location has changed
nicer formatting of imports
changed imports & str/unicode & iterator (next) for python3
changed imports, relative local import, str/unicode handling