-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
How about
..
elif ch_val in ('040', '011', '012'):
..
On Jun 14, 2006, at 1:40 PM, Andrew Robert wrote:
> In the middle of an if then else, I have the following line
>
> elif ch_val == '040' or ch_val == '011' or ch_val == '012':
Well, POST or PUT are the normal ways to do that. You need to interact
with the person running the web server to see how they need it
delivered - if they're expecting a GET and you give them a POST, it
isn't going to work very well :)
Dustin
On Jun 12, 2006, at 2:48 PM, patricia wrote:
> Hi!
As a note, the "import" should be
import shared_funcs
In Python, most globals aren't really global -- they're local to the
module. If you split your modules by functionality, then variables
should naturally relate to a specific module, and be located there.
So, for example, you could move
Wait, all of this "not really a number" and "carry-over from binary"
stuff deals with the *numeral* zero, which is neither here nor there.
We could use a picture of a bunny-rabbit instead of the numeral zero,
making this year 26.
The discussion here is over the *value* zero -- the identity ele