Brett Cannon wrote:
> On Fri, Jan 23, 2009 at 12:11, Steven Bethard <steven.beth...@gmail.com> 
> wrote:
>> On Fri, Jan 23, 2009 at 12:06 PM, "Martin v. Löwis" <mar...@v.loewis.de> 
>> wrote:
>>>>     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).
>> Wow, that decision was a lot easier than I thought it would be. ;-)
> 
> But my machine just told me svn, which is even easier as that means we
> don't need to change anything. =)

Mine briefly flirted with git, but quickly changed its mind. It *is* a
Kubuntu machine though, so it's probably biased :)

Cheers,
Nick.

>>> import random
>>> random.choice(['svn', 'bzr', 'hg', 'git'])
'git'
>>> random.choice(['svn', 'bzr', 'hg', 'git'])
'bzr'
>>> random.choice(['svn', 'bzr', 'hg', 'git'])
'bzr'
>>> random.choice(['svn', 'bzr', 'hg', 'git'])
'bzr'

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to