def save_to_file(filename, text): clean_filename = filename.replace('/', '-').strip('"') with open(clean_filename, 'w+') as f: f.write(text.encode('utf-8'))
verso #1