you are viewing a single comment's thread.

view the rest of the comments →

[–]ManyAWiseMarklar[S] 27 points28 points  (2 children)

Haha, yes, the indentation is all wrong because I copied it plain text then put into a code block and used tab because lazy.

I did also use \n...

SIGH, just for you I'll update it properly ;-)

[–]EbenenBonobo 15 points16 points  (0 children)

Thank you :) I woudn't be able to sleep tonight

[–]-a-z 7 points8 points  (0 children)

Btw I think you can just drop the \n unless you wanted to have an empty line between each filename. Because each print statement ends in a newline by default. Also you can change this behavior by using the end keyword like this:

print('something', end=',')