ruby %w equivalent

hg hg at
Mon Sep 25 21:16:31 CEST 2006

Antoine De Groote wrote:
> Hi everybody,
> is there a python equivalent for the ruby %w operator?
> %w{a b c} creates an array with strings "a", "b", and "c" in ruby...
> Thanks a lot
> Regards,
> antoine

Why would they want to make such an obscure API ? ... didn't they have
Python to learn from (I am truly amazed - nothing cynical ...just ...
why ?!!!!)

More information about the Python-list mailing list