SHARE
TWEET

Untitled

a guest Jun 19th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import urllib.request, json
  2. with urllib.request.urlopen("http://bank.gov.ua/NBUStatService/v1/statdirectory/exchange?json") as url:
  3.     data = json.loads(url.read().decode())
  4.     print(data[0])
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top