[Tutor] Request for guidance about a python syntax

Ganesh Borse bganesh05 at gmail.com
Tue Dec 20 03:10:25 CET 2011


Hi,
That's amazing. Thanks for sharing this information.
Regards

On Tue, Dec 20, 2011 at 2:31 AM, Jerry Hill <malaclypse2 at gmail.com> wrote:

> On Mon, Dec 19, 2011 at 12:10 PM, Peter Otten <__peter__ at 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 at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111220/c80c947a/attachment-0001.html>


More information about the Tutor mailing list