i fixed it.
the program was going nuts because there were
spaces in the name of the file.
go figgure.
anyway, i changed the way i format the timestamp that
becomes the file name and removed the spaces.
working all better now.
thanks
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> IOError: [Errno 2] No such file or directory:
> '/var/www/stretch/web_root/SidCrops/tenderloin/Tue Jun 7 20:13:35
> 2005.txt'
> args = (2, 'No such file or directory')
The web server isn't running in a chrooted environment
or anything, is it?
Are there any other
Hi !
Im a python begginer, but...
> form = cgi.FieldStorage()
> DataRecord = form['DataTime'].value
> Customer = form['CustName'].value # should be automatically filled in
>
Can you try this ?
print "Content-Type: text/html\n\n"
print
WorkingFile =
open("/var/www/stretch/web_root/SidCrops/"+C
no takers?
--
http://mail.python.org/mailman/listinfo/python-list
Hey there. Here is the deal i have a script that is supposed to
open a file based on criteria from a web form.
i cant seem to get it to work though.
here is the code:
form = cgi.FieldStorage()
DataRecord = form['DataTime'].value
Customer = form['CustName'].value # should be automatically fill
whoa, thanks
been trying to figgure this out for a week.
cant wait to try it this weekend.
thanks again.
--
http://mail.python.org/mailman/listinfo/python-list
nephish a écrit :
> Hey there,
> i am trying to write an online application using the cgi module.
> what i want to do is have an html form display a drop-down list and
> have the values of that list be the lines of text written in a file.
Simplest, Q&D solution :
1/ open the file for reading
2/ pr
Hey there,
i am trying to write an online application using the cgi module.
what i want to do is have an html form display a drop-down list and
have the values of that list be the lines of text written in a file.
this would be updated almost every time the site is visited.
i have been sucessful in