Aggiunta codice test coda python redis con Python-RQ

This commit is contained in:
Samuele Locatelli
2025-04-22 17:59:48 +02:00
parent d94cf7d08b
commit 5d9d7a76e7
5 changed files with 61 additions and 0 deletions
+7
View File
@@ -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