kens: 1 Tokens: 2 ... Tokens: 6000 etc...
>
> Can you recommend any tutorials for me?
>
> - Original Message -
> From: "Eric Brunson" <[EMAIL PROTECTED]>
> To: "Darren Williams" <[EMAIL PROTECTED]>
> Cc:
> Sent: Monday, July 16,
That's just printing Tokens: 1 Tokens: 2 ... Tokens: 6000 etc...
Can you recommend any tutorials for me?
- Original Message -
From: "Eric Brunson" <[EMAIL PROTECTED]>
To: "Darren Williams" <[EMAIL PROTECTED]>
Cc:
Sent: Monday, July 16, 2007 2:48 P
1
print "Tokens: %s" % Tokens
e.
>
> - Original Message - From: "Eric Brunson" <[EMAIL PROTECTED]>
> To: "Darren Williams" <[EMAIL PROTECTED]>
> Cc:
> Sent: Monday, July 16, 2007 2:01 PM
> Subject: Re: [Tutor] CGI Calculator
n" <[EMAIL PROTECTED]>
To: "Darren Williams" <[EMAIL PROTECTED]>
Cc:
Sent: Monday, July 16, 2007 2:01 PM
Subject: Re: [Tutor] CGI Calculator
> Darren Williams wrote:
>> Ok, now i've modified my script but am getting another error, i've
>> com
Darren Williams wrote:
> Ok, now i've modified my script but am getting another error, i've
> commented a few useless (hopefully) lines out -
>
> #!/usr/bin/env python
>
> import cgitb; cgitb.enable()
> import cgi
>
>
[snip]
> 17 while usedPockets > totalJunkies - labSpace * 17:
>
>
args = ("unsupported operand type(s) for -: 'str' and 'str'",)
It's confused me - it says I can't subtract a string from a string but then
gives the value's of the variables (that I randomly entered into the form)
at the bottom - usedPockets
Darren Williams wrote:
> Hi all,
>
> I am a Python convert coming from a JavaScript background
Welcome to Python, Darren.
> (as you can probably tell) and am currently writing my first
> application using Python which will be a calculator for an online game
> I used to play (thought it would
Hi all,
I am a Python convert coming from a JavaScript background (as you can probably
tell) and am currently writing my first application using Python which will be
a calculator for an online game I used to play (thought it would be a decent
first project) but am not sure on the syntax for ref