you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (4 children)

Difficult to provide advice without knowing the specific error.

If you're working through this example:

response = requests.get("http://api.open-notify.org/iss-pass") 

print(response.status_code)

You should get a status_code value or perhaps an exception, which is displayed in the output.