Re: [Tutor] CGI problem

2005-01-10 Thread Patric Michael
Hi David... You need to explicitly name your form element to inputkey to make your current code work correctly. ( Based on what you have shown below.) Or, to make the code correct, change inputkey to language. Remember that the name in each form element becomes the key in the key/value pairs

Re: [Tutor] How to run a script file

2005-01-04 Thread Patric Michael
though. I'm assuming your python is in /usr/bin. And that is a hash mark followed by an exclamation point. This is called hash bang in uningo. John Purser -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patric Michael Sent: Tuesday

[Tutor] A not-so-basic question...

2005-01-02 Thread Patric Michael
Hi folks... I was thinking about this the other day while prepping to write up another CGI thing. It occurred to me to wonder how other folks prepare an app, script, whatever. So the question is, and I am not looking for a right answer here. (I doubt ther eis one, to be honest.) How do you

Re: [Tutor] doctest

2005-01-01 Thread Patric Michael
Also, anything I can do... Presently, since I'm running windows xp, I would have to hunt for the command prompt and type in the command Click Start, click Run, type CMD, press Enter. Voila! :) Patric 'C:\python24\python.exe C:\documents and settings\jacob\desktop\working python

Re: [Tutor] cgi.FieldStorage and dictionary.get(' ')

2004-12-30 Thread Patric Michael
Hi, I've passed this through the interperter line-by-line, yet still can't get it to work right. The first time the cgi driver script initiates it runs the login function which renders a zpt. Upon submission of their vitals, the I'm not sure what a zpt is, but it sounds like the form

Re: [Tutor] O.T.

2004-12-30 Thread Patric Michael
Hi Jacob... But who are you all, what are you're ages, what do you do, marriage status, etc? You obviously don't have to answer, I'm just curious who I'm boldly sending emails to. I figure since I bit the bullet and actually posted a reply, I best answer this as well in the faint hope of why

Re: [Tutor] CGI Video collection application File I/O troubles

2004-12-09 Thread Patric Michael
Snip Sorry for the delay but I was busy with soemthing else. The script prints the values of the variables fine in the browser so there must be a problem with the file writing part. When I run the script from my bash shell it creates the videodb database file, but when I run it from the