> 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...
The expression 'a b c'.split() creates the ['a', 'b', 'c'] list of str, if that helps. Also dir('a b c') briefly lists much of what http://docs.python.org/lib/string-methods.html explains. Also Google was curiously resistant to telling me where Ruby's %w is documented. Pat LaVarre -- http://mail.python.org/mailman/listinfo/python-list