Re: [Tutor] cgi.FieldStorage to int

2005-09-21 Thread Adam Cripps
On 9/21/05, Kent Johnson <[EMAIL PROTECTED]> wrote: > Adam Cripps wrote: > > On 9/21/05, Kent Johnson <[EMAIL PROTECTED]> wrote: > > > >>Adam Cripps wrote: > >> > >>>I'm trying to get a cgi.FieldStorage into an int. > >>> > >>>The input is in numeric form, as it is provided by an > >>>drop-down bo

Re: [Tutor] cgi.FieldStorage to int

2005-09-21 Thread Kent Johnson
Adam Cripps wrote: > On 9/21/05, Kent Johnson <[EMAIL PROTECTED]> wrote: > >>Adam Cripps wrote: >> >>>I'm trying to get a cgi.FieldStorage into an int. >>> >>>The input is in numeric form, as it is provided by an >>>drop-down box. However, when I try >>> >>>timestable = int(form.getvalue('timesta

Re: [Tutor] cgi.FieldStorage to int

2005-09-21 Thread Adam Cripps
On 9/21/05, Kent Johnson <[EMAIL PROTECTED]> wrote: > Adam Cripps wrote: > > I'm trying to get a cgi.FieldStorage into an int. > > > > The input is in numeric form, as it is provided by an > > drop-down box. However, when I try > > > > timestable = int(form.getvalue('timestable')) > > > > I get an

Re: [Tutor] cgi.FieldStorage to int

2005-09-21 Thread Kent Johnson
Adam Cripps wrote: > I'm trying to get a cgi.FieldStorage into an int. > > The input is in numeric form, as it is provided by an > drop-down box. However, when I try > > timestable = int(form.getvalue('timestable')) > > I get an error that the type is None - I guess this is because > FieldStora

[Tutor] cgi.FieldStorage to int

2005-09-21 Thread Adam Cripps
I'm trying to get a cgi.FieldStorage into an int. The input is in numeric form, as it is provided by an drop-down box. However, when I try timestable = int(form.getvalue('timestable')) I get an error that the type is None - I guess this is because FieldStorage is a class. However, I've trawled