Hi,
That's amazing. Thanks for sharing this information.
Regards
On Tue, Dec 20, 2011 at 2:31 AM, Jerry Hill wrote:
> 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" % nfram
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
Jerry Hill wrote:
> On Mon, Dec 19, 2011 at 10:54 AM, Ganesh Borse
> wrote:
>
>> I could know the use of unpack_from, but I could not understand the "fmt"
>> part, i.e *"%dH" % nframes * nchannels*.
>> Can you pls help me know, what is the purpose of two "%" signs in this
>> statement?
>>
>>
> T
On Mon, Dec 19, 2011 at 10:54 AM, Ganesh Borse wrote:
> I could know the use of unpack_from, but I could not understand the "fmt"
> part, i.e *"%dH" % nframes * nchannels*.
> Can you pls help me know, what is the purpose of two "%" signs in this
> statement?
>
>
That's python's string formatting.