PageRenderTime 25ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 1ms

/helloworld/222.py

https://bitbucket.org/mariastepanova/good-one
Python | 7 lines | 7 code | 0 blank | 0 comment | 1 complexity | b4973888d30d0390bb40f26446a8c5c0 MD5 | raw file
  1. import codecs
  2. text=codecs.open("C:\\Documents and Settings\\User\\qwerty.txt", encoding = 'utf16').readlines()
  3. print text
  4. output=codecs.open("C:\\Documents and Settings\\User\\qwert.txt", encoding = 'utf8', mode = 'w')
  5. for l in text:
  6. output.write(l)
  7. output.close()