View Problem

Write a string to a file

DiskEdit
python
open('test.txt', 'wt').write('Hello World!')

Submit a new solution for python
There are 18 other solutions in additional languages (clojure, cpp, csharp, erlang ...)