I am trying to write some simple information to a file and i am getting the error message "No such file or directory when i know full well it exists. If you take the url http://www.adamplowman.com/uni_project/log.txt you get the file
heres the code
#!/usr/bin/python
print "Creating a text file with the write() method."
text_file = open("http://www.adamplowman.com/uni_project/log.txt", "w")
text_file.write("Line 1\n")
text_file.write("This is line 2\n")
text_file.write("That makes this line 3\n")
text_file.close()