Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

tawilkinson/EurovisionRandomizer

Repository files navigation

Eurovision Randomizer

EURsorandom.py

A simple randomizer that matches a list of names with the Eurovision countries. Put together quickly to randomly assign party-goers to fancy dress.

Usage

Run with:

python EURsorandom.py

Asks for 2 pieces of user input [defaults: just hit enter]:

  • Countries filename (any list of countries separated by newlines) [default: eurovision2019.participants]
  • Names filename (any list of names separated by newlines) [default: names.txt]

Outputs:

  • output.txt (a formatted file of results)

Notes:

  • Does support having less countries than people and will report total number of times a duplicate was used.
  • eurovision2019.finalists will be updated once this is fully known on 16th May 2019.
  • Can be used to match any two arbitrary newline separated lists

About

A simple python script to assign people to countries for fancy dress

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /