Improve the script.py in the scripts/ folder to get the stats of the community members. I have added a dummy data text file in the same folder with the usernames.
Extract the usernames from the data.txt and get the individual stats.
Sum up all the contributions and print the overall stats.
First, do the script, we can integrate into the Flask app later on.
Also, see that I have changed the structure of the script.
Improve the script.py in the
scripts/
folder to get the stats of the community members. I have added a dummy data text file in the same folder with the usernames.First, do the script, we can integrate into the Flask app later on.
Also, see that I have changed the structure of the script.