Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ISS Location Finder problem
#7
(Jan-20-2020, 07:34 PM)birdwatcher Wrote: What do you mean by full trace back
that is the whole message that you get when there is error, not just the last line

(Jan-20-2020, 07:34 PM)birdwatcher Wrote: what do I need to do with the URL
see line#8 in my example
also, it's better to use requests package. you need to install it from PyPi
same example with requests
import requests
 
params = {'lat':52.183, 'lon':0.216712239}
 
url = 'http://api.open-notify.org/iss-pass.json'
response = requests.get(url, params=params)
result = response.json()
 
over = result['response'][1]['risetime']
print(over)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
ISS Location Finder problem - by birdwatcher - Jan-20-2020, 06:22 PM
RE: ISS Location Finder problem - by buran - Jan-20-2020, 06:32 PM
RE: ISS Location Finder problem - by birdwatcher - Jan-20-2020, 06:53 PM
RE: ISS Location Finder problem - by buran - Jan-20-2020, 07:30 PM
RE: ISS Location Finder problem - by buran - Jan-20-2020, 07:33 PM
RE: ISS Location Finder problem - by birdwatcher - Jan-20-2020, 07:34 PM
RE: ISS Location Finder problem - by buran - Jan-20-2020, 07:40 PM
RE: ISS Location Finder problem - by birdwatcher - Jan-20-2020, 07:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help in designing a timestamp finder for chapter-less TV shows Daring_T 1 1,933 Oct-26-2020, 09:30 PM
Last Post: Daring_T
  problem about maze path finder Simurg 2 2,030 Aug-16-2020, 01:10 PM
Last Post: Simurg
  Location Named Entity Recognition Problem owais 7 6,316 Aug-08-2017, 09:43 AM
Last Post: lukecage

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020