|
|
2008-07-29
, 10:09
|
|
|
Posts: 1,012 |
Thanked: 817 times |
Joined on Jul 2007
@ France
|
#2
|
|
|
2008-07-29
, 11:01
|
|
Posts: 12 |
Thanked: 5 times |
Joined on Jul 2008
|
#3
|
The code is trivial, but here it is:
#!/usr/bin/python print "Sample text output" f = open("testfile.txt", "w") f.write("Strange behaviour!") f.close()