Re: [Tutor] for statement with addition ...

2009-07-13 Thread Rommel Asibal
Markus,

That looks like a typo.  remove it and it should work.

On Mon, Jul 13, 2009 at 4:50 AM, Markus Hubig  wrote:

> Hi @all,
>
> within diveintopython I often found a for-statement like this:
>
> f for f in bla:
> print f
>
> So what actually is the first f for ... is it just to declare f before
> starting the for loop? I can't find any information on python.org
> and it's hard to google this kinda stuff.
>
> - Markus
>
> --
> ---"it's like this"--
> even samurai have teddy bears
> and even teddy bears get drunk
>
> ___
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] Xampp & Python

2009-07-13 Thread Rommel Asibal
Hello All,

I am trying to go through the "Python Power!" book and i am at the part
where i need to setup a web server.  I am thinking of using XAMPP and have
checked its site and wanted to try using mod_python.  I am using Python 3.1
but from initial looks it seems mod_python doesnt support it, could someone
verify if that is correct?  Does that mean i have to go to python 2.6 for it
to work?


Thanks!
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor