how to make a random text string csv comform with python? -


i have following problem:

i have string, text, has several \n , special chars <>?;.,

how make string fit 1 line when write cvs file (or other file)?

i want string in 1 line

solved doing following:

base64.b64encode(my_text) 

and write file.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -