[ create a new paste ] login | about

Link: http://codepad.org/JrcUTZfC    [ raw code | output | fork ]

Python, pasted on Aug 1:
1
2
3
out_file = open("test.txt", "wt")
out_file.write("This Text is going to out file\nLook at it and see!")
out_file.close()


Output:
1
2
3
4
Traceback (most recent call last):
  Line 1, in <module>
    out_file = open("test.txt", "wt")
IOError: [Errno 13] Permission denied: 'test.txt'


Create a new paste based on this one


Comments: