exception handling and print statement updates for python3