"one two three".split() On Tue, Oct 22, 2019, 3:56 PM Steve Jorgensen <[email protected]> wrote:
> See > https://en.wikibooks.org/wiki/Ruby_Programming/Syntax/Literals#The_%_Notation > for what Ruby offers. > > For me, the arrays are the most useful aspect. > > %w{one two three} > => ["one", "two", "three"] > > I did a search, and I don't see that this has been suggested before, but I > might have missed something. I'm guessing I'm not the first person to ask > whether this seems like a desirable feature to add to Python. > _______________________________________________ > Python-ideas mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/D5RMXPN3NXVM2OJIAJ2NSBII6UJGDVDZ/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/B2EAKB66YQUDYYXO5KA4IIZWY6GUR3EL/ Code of Conduct: http://python.org/psf/codeofconduct/
