> import random > print(random.choice('svn', 'bzr', 'hg', 'git')) Nice! So it's bzr, as my machine just told me (after adding the square brackets). Regards, Martin