-
iteritem, map, values, xrange, keys, filter ... : replace where necessary
-
next method
-
execfile (rm in py3) : use
exec(open(thefile).read())
for instance -
file(pathname) ==> open(filename)
-
imports which override base library
-
urllib2 ==> urllib.request
-
TypeError: write() argument must be str, not bytes