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.