I need a string consisting of a repetition of a particular character. At the Python console, if I type:
n = \'0\'*8
then n gets
n
If you want the result to be a list of strings instead of a single one, you can always use this:
list(('0',) * 8)
And you can get:
['0', '0', '0', '0', '0', '0', '0', '0']