Advertisement
nher1625

Ziptastic_String_to_Dict

Apr 10th, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. import urllib.request
  2.  
  3. r = urllib.request.urlopen("http://ZiptasticAPI.com/33186")
  4.  
  5. for object in r:
  6.     object = dict
  7.  
  8. objectString = str(object)
  9.  
  10. json.loads(objectString.split("\'")[1])
  11.  
  12. # Ziptastic string to dict code at work
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement