On Mon, Dec 19, 2011 at 12:10 PM, Peter Otten <__pete...@web.de> wrote:

> Close, but % and * have the same operator precedence. Therefore the
> expression
>
> "%dH" % nframes * nchannels
>
> is evaluated as
>
> (%dH" % nframes) * nchannels
>
>
Thanks Peter, that's exactly correct.  Maybe this will teach me not to post
things without actually trying them in the interactive interpreter.

-- 
Jerry
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to