In [41]:
%run Console.py

Administer polls


In [42]:
# admin_console()

Write a vote to a ballot file


In [43]:
# voting_console('wishlist')

Count votes


In [44]:
total=tally_votes('prez')
total.printReport()


	*,bush	*,fillmore	*,obama	*,washington
bush,*	--	1	1	1	
fillmore,*	2	--	0	0	
obama,*	2	3	--	3	
washington,*	2	3	0	--	

In [45]:
g=Schulze.Graph(total)
g.print_ladder()


	4 candidates.
	Dropping obvious weak candidates.
	 0 candidates remain
  1)	obama
  2)	washington
  3)	fillmore
  4)	bush