I see many people using format strings like this:
root = \"sample\" output = \"output\" path = \"{}/{}\".format(root, output)
Instead of si
It's for looks and the maintaining of the code. It's really easier to edit your code if you used format. Also when you use + you may miss the details like spaces. Use format for your and possible maintainers' good.