Message from Python discussions

December 2018

— Strs = ["" for x in range(size)]

— 

Https://github.com/pinax/pinax-likes
https://github.com/praekelt/django-likes
https://github.com/HaddyYang/django-likes

— Thank you for reply. Unfortunately these apps implements only one type of vote/like.

— I guess the option at the moment to create one

— Well, you can adapt or create one

— This is not even close to what i wanted but thx :D

— IDK Ruby 😞

— No problem^^

Let me explain.
Ruby: %w[one two three] == ['one', 'two', 'three']

I want the same syntactic sugar for python, to get rid of all these '' when I have to hardcode a huge list of strings. But I guess there isn't sth like this.

Message permanent page

— Your code just gives me a list of empty strings which isn't very pythonic

— Oh, I see

— "one two three".split()?

— Hey, that's actually a very nice workaround! Thank you!