Advertisement
Sergio_Istea

http-code.py

Jun 15th, 2023
1,192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. #!/usr/bin/python3
  2.  
  3.  
  4. import error_codes
  5. import sys
  6.  
  7. code = error_codes.get_http_error_code(sys.argv[1])
  8.  
  9. print(error_codes.codes[f"{code}"])
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement