Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- response = requests.get(url.format("set"))
- print(response.status_code)
- response = requests.get(url.format("map"))
- print(response.status_code)
- response = requests.get(url.format("list"))
- print(response.status_code)
- response = requests.get(url.format("vector"))
- print(response.status_code)
- response = requests.get(url.format("string"))
- print(response.status_code)
- for word in fIn :
- response = requests.get(url.format(word))
- if(response.status_code == 200):
- print "OK"
- else:
- print(response.status_code)
- print "Error"
- print word
- from lxml import html
- import requests
- fOut = open("descriptions.txt","w")
- with open('dummyWords.txt') as fIn:
- for word in fIn :
- print word
- response = requests.get(url.format(word))
- if(response.status_code == 200):
- print "OK"
- else:
- print(response.status_code)
- print(word)
- with open('dummyWords.txt') as fIn:
- for word in map(str.strip, fIn) :
- cmd = urllib.quote(cmds[i])
Add Comment
Please, Sign In to add comment