[Tutor] reading into a text file

2009-07-25 Thread keithabt
Hi I am trying to read a html document into a text file to looks at it for the purpose of spliting the data. I am not sure I am doing this right. I have my html document, my text file and a python script I called convt.py on the desktop in a folder. I opened up IDLE (python GUI) opened the fol

[Tutor] sending to a file

2009-07-17 Thread keithabt
I have a form and script that works. I can enter values into the fields, however the data will not show up on the server in the text file. The properties for the file is 0777. Can the form cause this problem? 28359-form method.docx Description: Binary data __

[Tutor] sending to file

2009-07-17 Thread keithabt
I have a form and script that works. I can enter values into the fields, however the data will not show up on the server in the text file. The properties for the file is 0777. Can the form cause this problem? http://web.nmsu.edu/~keithabt/cgi-bin/07_index.cgi";> Please feel out th

[Tutor] Form values

2009-07-17 Thread keithabt
Hi, I am reading values from a form and writing them to a text file. I keep getting a syntax error for outfile=open("filename", "a")I cant see it, does any body else. fileName = "requests.txt" # Create instance of FieldStorage Form = cgi.FieldStorage() # Get data from fields if Form and Form