Change a couple of statements for python3 compatibility
No structural changes. Just make a couple of statements (mostly imports) compatible with python3
No structural changes. Just make a couple of statements (mostly imports) compatible with python3