python count.py <filename.csv>Example:
python count.py ballot_data.csv- Install required dependencies:
pip install flask flask-cors pandas- Start the Flask server:
python server.py-
Open
index.htmlin your web browser -
Upload a CSV file and click "Process CSV" to see the results
The web interface will display:
- Winner for each race (if applicable)
- All elimination rounds
- Vote counts for each candidate in each round
- Which candidates were eliminated and why