Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import socket
- try:
- #codes that are gonna throw socket.error: [Errno 9] Bad file descriptor
- except socket.error as error:
- #codes that are gonna print out the error-id
- #in this case... "9"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement