Aggiunta codice test coda python redis con Python-RQ
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import requests
|
||||
|
||||
def count_words_at_url(url):
|
||||
resp = requests.get(url)
|
||||
nwords = len(resp.text.split())
|
||||
print ( nwords )
|
||||
return nwords
|
||||
Reference in New Issue
Block a user