use the type= feature in argparse
authorBenjamin Mako Hill <mako@atdot.cc>
Wed, 1 Apr 2020 23:13:02 +0000 (18:13 -0500)
committerBenjamin Mako Hill <mako@atdot.cc>
Wed, 1 Apr 2020 23:13:02 +0000 (18:13 -0500)
commitb457cd726b8e4e15218eb3e2b50c07c6832e92a3
tree782edd8416dd69bcc908d85d6965bc29aa7700f9
parent17c3f75389d7cadba4400ee5a0d2281f71fcdc4c
use the type= feature in argparse

- integrated the type= feature in argparse in all three scripts
- removed some redundant code from the third file
wikipedia/scripts/fetch_enwiki_daily_views.py
wikipedia/scripts/fetch_enwiki_revisions.py
wikipedia/scripts/wikiproject_scraper.py

Community Data Science Collective || Want to submit a patch?