I am a native perl, but lately have been using python very often. I was wondering if there is something similar to the perl qw // operator, which is a shortcut to get around a set of several quotes and commas when creating a list of several lines that do not include spaces.
Example: @list = qw(Paul Michael Jessica Megan); (from wikibooks
I canβt find anything, but the name of the operator may be completely different ... Greetings, Lars
source share