We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 474f0d4 commit 0e73449Copy full SHA for 0e73449
visitors.py
@@ -12,4 +12,4 @@ def get_number_of_visitors(language: str) -> str:
12
r = requests.get(f'https://plausible.io/docs.python.org/export?{param}', timeout=10)
13
with zipfile.ZipFile(io.BytesIO(r.content), 'r') as z, z.open('visitors.csv') as csv_file:
14
csv_reader = csv.DictReader(io.TextIOWrapper(csv_file))
15
- return humanize.intword(sum(int(row["visitors"]) for row in csv_reader))
+ return f"{sum(int(row["visitors"]) for row in csv_reader):,}"
0 commit comments