Don’t compare None and integers.
httplib compatibility with python3.
httplib compatibility with python3.
httplib compatibility with python3.
Removed print statement.
Integers can’t start with 0
xrange migration.