{% calculate run = '/usr/bin/python' %} import os text = '''Please, take this and run far away, far away from me I am tainted And happyness, and peace of mind Was never meant for me.''' os.mkdir('./dir_71') with open('./dir_71/file_0', 'w') as output_file: output_file.write(text)