import socket try: raise socket.gaierror("Error!")except socket.gaierror as e: print("Oh, my! An error! %s" % e)
Standard input is empty
Oh, my! An error! Error!
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!