> The view are iterables. They can be iterated more than once and used in
> other operations.
>
> The transformers should be once-through iterators because they can be
> passed once-through interators.
This is important, thank you for pointing it out.
> Python's design that iter(iterator) is
Dear Tim,
in Python 2, None is a keyword and True and False are just identifiers. In
Python 3, all of them are keywords.
There is an interesting article by Guido explaining the reason for their
different implementations.
http://python-history.blogspot.com/2013/11/story-of-none-true-false.html
J
On Thu, Jul 23, 2020 at 5:55 PM Peter Slížik wrote:
> > Python's design that iter(iterator) is iterator is extremely handy.
> >
>
> Yes, but it has the unfortunate consequence that an iterator is expected
> to define
>
> def __iter__(self):return self
>
> which I saw people *not* doing, suppo
On 23/07/2020 02.12, Cameron Simpson wrote:
> On 22Jul2020 15:00, Christian Heimes wrote:
>> Hi MAL,
>>
>> would it be possible to reduce the amount of EuroPython spam on
>> @python.org mailing lists to a sensible level? This mailing list is a
>> general discussion list for the Python programming
On Thu, Jul 23, 2020 at 5:55 PM Peter Slížik wrote:
> Moreover, some tutorial authors make it even more difficult with using the
> terms iterator and iterable interchangeably. A notorious example is this
> wiki:
> https://wiki.python.org/moin/Iterator
>
> It says:
>
> *Here is an *iterator* that r
On Thu, Jul 23, 2020 at 6:40 PM Christian Heimes wrote:
> I'm not disputing the fact that a conference can use the generic Python
> users list for announcements. It's the fact that EP is literally
> spamming the list with threads like "Opening our merchandise shop",
> "Find a new job", "Introducin
> Works in what way? You can't use it in a 'for' loop if it doesn't
> define __iter__.
>
class Iterable:
def __iter__(self):
return Iterator(...)
class Iterator:
def __next__(self):
return
# No __iter__ here.
# I've just forgotten to def it.
With this setup, usi
Am 23.07.20 um 06:30 schrieb Klaus Jantzen:
On 7/22/20 11:05 PM, Ned Deily wrote:
On 2020-07-22 06:20, Klaus Jantzen wrote:
Trying to install Python 3.8.3 with tkinter I run configure with the
following options
./configure --enable-optimizations --with-ssl-default-suites=openssl
--with-openssl
On 2020-07-23 00:30, Klaus Jantzen wrote:
> On 7/22/20 11:05 PM, Ned Deily wrote:
>> On 2020-07-22 06:20, Klaus Jantzen wrote:
>>> Trying to install Python 3.8.3 with tkinter I run configure with the
>>> following options
>>>
>>> ./configure --enable-optimizations --with-ssl-default-suites=openssl
Klaus Jantzen writes:
> On 7/22/20 11:05 PM, Ned Deily wrote:
>> On 2020-07-22 06:20, Klaus Jantzen wrote:
>>> Trying to install Python 3.8.3 with tkinter I run configure with the
>>> following options
>>>
>>> ./configure --enable-optimizations --with-ssl-default-suites=openssl
>>> --with-openssl
On Fri, Jul 24, 2020 at 4:00 AM Dennis Lee Bieber wrote:
>
> On Thu, 23 Jul 2020 09:51:42 +1000, Chris Angelico
> declaimed the following:
>
> >On Thu, Jul 23, 2020 at 9:17 AM dn via Python-list
> > wrote:
> >> However, questions remain:-
> >>
> >> Robot: any machine or mechanical device that ope
On 23/07/2020 20:39, Christian Heimes wrote:
On 23/07/2020 02.12, Cameron Simpson wrote:
On 22Jul2020 15:00, Christian Heimes wrote:
...
would it be possible to reduce the amount of EuroPython spam on
@python.org mailing lists to a sensible level? This mailing list is a
general discussion li
I have recently upgraded my desktop system from ubuntu 19.10 to ubuntu
20.04. I have some Oki printer/scanner driver software that is
written in Python 2 and, although python 2 is still installed on my
system it's no longer the default python and the Oki software no
longer runs.
The error I am ge
Redirected from Digest (see below)
On 23/07/2020 11:59, Stavros Macrakis wrote:
> Mousedancer, thanks!
Yes, I even look like a (younger) Kevin Costner!
(you believe me - right!?)
> As a finger exercise, I thought I'd try implementing print-level and
print-length as an object-to-object transf
Interesting PEG thing. C++ compilers are getting better at suggesting
fixes for minor syntax errors (in 2011 on MSVC I remember seeing pages of
errors for forgetting a semicolon after a struct.) but python seems to be
lagging behind in this regard.. will check out superhelp, maybe it'll help
me pa
On 23Jul2020 10:39, Christian Heimes wrote:
>On 23/07/2020 02.12, Cameron Simpson wrote:
>> I have never attended EuroPython and probably never will (I'm on the
>> other side of the planet) but I'm still interested. Rather than
>> subscribe to every conference thing, getting them here is very
>> c
On 7/23/2020 5:14 AM, Peter Slížik wrote:
Works in what way? You can't use it in a 'for' loop if it doesn't
define __iter__.
class Iterable:
def __iter__(self):
return Iterator(...)
class Iterator:
def __next__(self):
return
# No __iter__ here.
# I've j
Dear Sir/Madam,
I trust this email finds you well.
I have been having issues downloading the latest version of Python
programming Language on my PC (windows 10 operating system). Kindly assist
in resolving this issue at your earliest convenience.
Looking forward to hearing from you soon.
Yours s
Chris Green writes:
> I have recently upgraded my desktop system from ubuntu 19.10 to ubuntu
> 20.04. [ ... ]
> The error I am getting is:-
[ ... ]
> ImportError: No module named gtk
>
> So what do I need to install on my Ubuntu 20.04 system to provide the
> gtk module?
Ubuntu doesn't prov
On 7/24/20 12:05 AM, Ejiofor Chidinma Peace wrote:
> Dear Sir/Madam,
> I trust this email finds you well.
>
> I have been having issues downloading the latest version of Python
> programming Language on my PC (windows 10 operating system). Kindly assist
> in resolving this issue at your earliest c
20 matches
Mail list logo