Francis Esmonde-White wrote:
> Hello,
>
> I came to report one bug (in the Python 3 tutorial documentation), and ran
> into another (functional in bugs.python.org bug tracker registration
> system). I have included details for both bugs below.
>
> Thanks in advance for your assistance, I am lovi
That's one thing that confused me. Generators are supposed to be one-off
iterators. Iterators, *I understood* as reusable iterables.
--
https://mail.python.org/mailman/listinfo/python-list
On 22Sep2018 12:08, Brian Oney wrote:
That's one thing that confused me. Generators are supposed to be one-off
iterators. Iterators, *I understood* as reusable iterables.
You've misread the grammar (the semantics). Iterators are one off - they're
something that counts (for want of a better w
Let me use a different input args and display them below. Basically, I am
hoping to add up all elements of each nested list. So at first it should start
with [1,11,111] ==> 1+11+111 = 123. But instead, it appears to take the 1st
element from each nested list to add up [1,2,3] = 6. How shoul
Victor via Python-list wrote:
> Let me use a different input args and display them below. Basically, I am
> hoping to add up all elements of each nested list. So at first it should
> start with [1,11,111] ==> 1+11+111 = 123. But instead, it appears to take
> the 1st element from each nested lis
Brian Oney via Python-list wrote:
> That's one thing that confused me. Generators are supposed to be one-off
> iterators. Iterators, *I understood* as reusable iterables.
The way I think about it, informally: iterables need and __iter__ method,
iterators need a __next__ method.
In practice all
Received?
On Sun, Sep 16, 2018 at 3:39 PM Buck Evan wrote:
> I started to send this to python-ideas, but I'm having second thoughts.
> Does tihs have merit?
>
> ---
> I stumble on this a lot, and I see it in many python libraries:
>
> def f(*args, **kwargs):
> ...
>
> f(*[list comprehension]
On Saturday, September 22, 2018 at 6:22:32 AM UTC-7, Peter Otten wrote:
> Victor via Python-list wrote:
>
> > Let me use a different input args and display them below. Basically, I am
> > hoping to add up all elements of each nested list. So at first it should
> > start with [1,11,111] ==> 1+11+
Olá, estou tendo problemas para executar o Python, baixei a versão 64 bit
pois nas configurações de meu computador mostra 64x, porém na hora de
executar diz que não tenho o api-ms-win-crt-runtime-l1-1-0.dll
--
https://mail.python.org/mailman/listinfo/python-list
Victor via Python-list wrote:
> On Saturday, September 22, 2018 at 6:22:32 AM UTC-7, Peter Otten wrote:
>> Victor via Python-list wrote:
>>
>> > Let me use a different input args and display them below. Basically, I
>> > am
>> > hoping to add up all elements of each nested list. So at first it
On 22/09/2018 20:18, Victor via Python-list wrote:
On Saturday, September 22, 2018 at 6:22:32 AM UTC-7, Peter Otten wrote:
Victor via Python-list wrote:
Let me use a different input args and display them below. Basically, I am
hoping to add up all elements of each nested list. So at first it
On 22/09/2018 19:28, Allan Sobrero wrote:
Olá, estou tendo problemas para executar o Python, baixei a versão 64 bit
pois nas configurações de meu computador mostra 64x, porém na hora de
executar diz que não tenho o api-ms-win-crt-runtime-l1-1-0.dll
https://support.microsoft.com/pt-pt/help/2999
On Saturday, September 22, 2018 at 12:20:08 PM UTC-7, Thomas Jollans wrote:
> On 22/09/2018 20:18, Victor via Python-list wrote:
> > On Saturday, September 22, 2018 at 6:22:32 AM UTC-7, Peter Otten wrote:
> >> Victor via Python-list wrote:
> >>
> >>> Let me use a different input args and display th
On Sat, Sep 22, 2018, Victor (vhnguy...@yahoo.com) wrote
Let me use a different input args and display them below. Basically, I am
hoping to add up all elements of each nested list. So at first it should start
with [1,11,111] ==> 1+11+111 = 123. But instead, it appears to take the 1st
element f
Thanks very much to all who replied. This problems was solved as
follows: First I downloaded "PyAudio‑0.2.11‑cp37‑cp37m‑win_amd64.whl"
from "https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio"; as suggested
by MRAB and Terry Reedy. Then I ran "python -m pip install
PyAudio‑0.2.11‑cp37
On 09/16/2018 04:39 PM, Buck Evan wrote:
> The syntax I'm proposing is:
>f(**kwargs={'a': 1, 'b': 2})
>
> as a synonym of f(a=1, b=2) when an appropriate dictionary is already on
> hand.
But if the kwargs dict already exists you can already unpack it:
f(**kwargs)
or
f(**{'a': 1, 'b': 2})
So
16 matches
Mail list logo