human
How do I convert LF to CRLF?
assistant
Here is some code to open the file 'words.txt' in 'rU' mode

f = open('words.txt', 'rU')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.