kr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
if one wishes.
The difference would include less spoofing but also the ability to remove
and that are causing annoyance here.
Avi
-Original Message-
From: Python-list On
Behalf Of Chris Angelico
Sent: Wednesday, May 5, 2021 8:37 PM
To: Python
Subject: Re: Proposal: Disconnect
On 2021-05-06, Chris Angelico wrote:
> On Thu, May 6, 2021 at 10:32 AM Paul Bryan wrote:
>>
>> Given the ease of spoofing sender addresses, and its propensity for use
>> in anonymous spamming and trolling (thanks python-list-owner for
>> staying on top of that
ist is done now. They wouldn't need to do any work
they don't already do.
--
https://mail.python.org/mailman/listinfo/python-list
Chris,
I got the fastest python yesterday as it was so fast that it beat the one
coming tomorrow.
The trick is adding back the legs that evolution allowed to lapse.
Without bated breath,
Regardless,
Avi
-Original Message-
From: Python-list On
Behalf Of Chris Angelico
Sent: Wednesday
On 2021-05-06, Richard Damon wrote:
> On 5/5/21 9:40 PM, Jon Ribbens via Python-list wrote:
>> On 2021-05-06, Paul Bryan wrote:
>>> What's involved in moderating c.l.p? Would there be volunteers willing
>>> to do so?
>> Nothing at all is involved, apart
other languages spun off it or
off C.
My programmed energy use for today is just about exhausted. Luckily, my Day
starts at midnight, in about half an hour 😉
Avi
-Original Message-
From: Python-list On
Behalf Of Benjamin Schollnick
Sent: Wednesday, May 5, 2021 2:17 PM
To: Mr Flibble
On 2021-05-06, Richard Damon wrote:
> On 5/5/21 10:44 PM, Jon Ribbens via Python-list wrote:
>> On 2021-05-06, Richard Damon wrote:
>>> As someone with a long usenet background, converting the existing group
>>> to moderated would be practically impossible. It just is
; is that a human vets every post.
That's not a definition that anyone else would use, I think,
and I say that as a moderator of a Usenet group..
> That's certainly not the case for python-list@python.org. Posts gated
> from comp.lang.python to the mailing list only get passed through
On 2021-05-06, Richard Damon wrote:
> On 5/6/21 6:12 AM, Jon Ribbens via Python-list wrote:
>> I think you're fundamentally missing the point that the newsgroup is
>> *already gatewayed to the mailing list*. Marking the group moderated
>> will not result in any more w
ret he presumably would not have
made formal announcements describing himself as a moderator in public
on the list.
--
https://mail.python.org/mailman/listinfo/python-list
On 2021-05-06, Richard Damon wrote:
> On 5/6/21 9:12 AM, Jon Ribbens via Python-list wrote:
>> Are you saying that the messages that appear occasionally from people
>> such as Ethan Furman claiming to be moderators and alleging that
>> particular people have been banned or su
On 2021-05-06, Richard Damon wrote:
> On 5/6/21 9:44 AM, Jon Ribbens via Python-list wrote:
>> Sounds like nearly all moderated lists/forums then.
>
> Then perhaps you have never been on a real Moderated mailing list or
> Forum.
Ah, the "no true scotsforum" argum
s raised so far have any basis
whatsoever in reality. And it appears even the suggestion that
Mailman 3 cannot be used while a gateway is involved is untrue:
https://mailman.readthedocs.io/en/latest/src/mailman/handlers/docs/nntp.html
--
https://mail.python.org/mailman/listinfo/python-list
Message-
From: Python-list On
Behalf Of Joe Pfeiffer
Sent: Thursday, May 6, 2021 3:03 PM
To: python-list@python.org
Subject: Re: Bloody rubbish
Skip Montanaro writes:
>>
>> Machine language is so much simpler, and you can code with just a hexpad.
>>
>
> Pshaa... All
r ways, such as from the command line?
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
JSON and instead
selects a file format that doesn't even have a built-in Python parser.
--
https://mail.python.org/mailman/listinfo/python-list
putting
("writing") TOML as well as reading it, and this makes choosing
between those modules more controversial as there are more subjective
opinions involved in the implementation of writing TOML as opposed to
only reading it.
--
https://mail.python.org/mailman/listinfo/python-list
nd it doesn't try
to stop you. I am sure after a little more experience with Python you
will remember the commonest built-in types (int, float, list, dict, str
etc.).
Regards
Rob Cliffe
--
https://mail.python.org/mailman/listinfo/python-list
ade it
so easy to throw ideas around!
Regards
Rob Cliffe
--
https://mail.python.org/mailman/listinfo/python-list
my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
of the purpose rather than the type.
Its a lesson that I've never forgotten!
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
but if
you're not then just "input" is overly opaque
(not to mention shadowing a builtin).
This is why it's good when languages have conventions
like "types and classes start with an upper-case letter",
so that you can do "string = String()" without problems...
--
https://mail.python.org/mailman/listinfo/python-list
sons and many LIKE IT the way it is, ...
-Original Message-
From: Python-list On
Behalf Of Cameron Simpson
Sent: Monday, May 24, 2021 5:34 AM
To: python-list@python.org
Subject: Re: learning python ...
On 24May2021 08:21, hw wrote:
>On 5/24/21 12:03 AM, Cameron Simpson wrote:
&g
On 25/05/2021 00:41, Jon Ribbens via Python-list wrote:
> What would you call the argument to a function that
> returns, say, an upper-cased version of its input?
Probably 'candidate' or 'original' or 'initial' or
somesuch. Or even just 's'.
e Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
rhead for
> large strings?
Memory is cheap ;-)
> I confess I had just assumed the unicode strings were stored
> in native unicode UTF8 format.
If you do that then indexing and slicing strings becomes very slow.
--
https://mail.python.org/mailman/listinfo/python-list
Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
as not aware of. But generally, most
languages have been fairly well thought-out with specific ideas in mind and are
in many ways FINISHED albeit can often grow later.
-Original Message-----
From: Python-list On
Behalf Of hw
Sent: Thursday, May 27, 2021 2:30 PM
To: python-list@python.org
S
w.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
://mail.python.org/mailman/listinfo/python-list
y is an attribute of a class that pretends to be a data
attribute but in fact causes methods to be called when it is
accessed.
--
https://mail.python.org/mailman/listinfo/python-list
program structures,
which is the essence of OOP.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
de I'm
also keen to hear!
HTH
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
-list On
Behalf Of Alan Gauld via Python-list
Sent: Sunday, May 30, 2021 4:20 PM
To: python-list@python.org
Subject: Re: Definition of "property"
On 30/05/2021 17:57, Irv Kalb wrote:
> I am doing some writing (for an upcoming book on OOP), and I'm a little
stuck.
Oh dear, tha
s/new
--
https://mail.python.org/mailman/listinfo/python-list
On 2021-05-30, Terry Reedy wrote:
> Note: at least one person says a property *pretends* to be an attribute.
No, I said it pretends to be a *data* attribute. It is effectively
several methods in a trenchcoat pretending to be a variable.
--
https://mail.python.org/mailman/listinfo/python-list
log on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
dir(): ['CONNECT', 'HELP', '__class__', '__doc__', '__members__',
'__module__']
Command2
type():
type of enum member:
number of members: 0
enum members:
dir(): ['__class__', '__doc__', '__members__', '__module__']
call Command2 member: message from help_impl()
(qt6) %
---
--
https://mail.python.org/mailman/listinfo/python-list
> On 31 May 2021, at 18:24, Peter Otten <__pete...@web.de> wrote:
>
> On 31/05/2021 17:57, Colin McPhail via Python-list wrote:
>> Hi,
>> According to the enum module's documentation an Enum-based enumeration's
>> members can have values of any t
method. It's just that in most cases the method is implemented
> in C and it looks up a value in the object's dict.
Sure, if we take the "lowest level" and pretend there are no
higher-level structures it's all just electrons doing apparently
random things and there's nothing more to be said about it.
--
https://mail.python.org/mailman/listinfo/python-list
ite different!
Although properties can be used to create a form of immutablity.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
ke its function or retrieve the value it returns.
> (I'm assuming that by "data attribute" you mean a piece of
> data that's stored directly in the object. If you mean
> something else, we might be talking at cross purposes.)
I mean it in the sense it is used by the Python documentation.
--
https://mail.python.org/mailman/listinfo/python-list
On 31/05/2021 16:16, Grant Edwards wrote:
> On 2021-05-30, Alan Gauld via Python-list wrote:
>> You are not alone. debugging curses is one of the biggest obstacles to
>> its use.
>
> Can't you just run the debugger in a different window and attach to
> the process
On 31/05/2021 15:59, Dennis Lee Bieber wrote:
> On Sun, 30 May 2021 21:20:24 +0100, Alan Gauld via Python-list
> declaimed the following:
>
>> On 30/05/2021 17:57, Irv Kalb wrote:
>>> I am doing some writing (for an upcoming book on OOP), and I'm a little
>>&
ke '22.3' via astype
or pd.to_numeric is below
Unable to parse string "22." at position 0
Thanks in advance
EK
--
https://mail.python.org/mailman/listinfo/python-list
lled a lot use conditional
breakpoints so that you only stop when you want to.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
/mailman/listinfo/python-list
On 02/06/2021 14:35, jayshankar nair via Python-list wrote:
> import tools.fab.dev_utils as dev_utilsImportError: No module named
> tools.fab.dev_utils
> Please let me know which package i have to install.
Work backwards.
Can you import tools.fab?
Can you import tools?
Once you know
On 2021-06-08, D'Arcy Cain wrote:
> Given that mailman still runs under 2.7 and that's being deprecated,
> does anyone have a suggestion for a replacement?
There is always Mailman 3...
--
https://mail.python.org/mailman/listinfo/python-list
sure that's out of date.
--
https://mail.python.org/mailman/listinfo/python-list
On 2021-06-08, Terry Reedy wrote:
> On 6/8/2021 4:36 PM, Jon Ribbens via Python-list wrote:
>> On 2021-06-08, Grant Edwards wrote:
>>> On 2021-06-08, Paul Bryan wrote:
>>>> How about Mailman 3.x on Python 3.x?
>>>
>>> According to https:
python.org/mailman/listinfo/python-list
Finally found the solution
Options.importSite = false;
which solved my issue.
I can't set Bindings and pass args to script. The only example I found is for
JavaScript. I think maybe it doesn't work for jython.
Thanks
____
From: Python-list on
behal
org/mailman/listinfo/python-list
On 13/06/2021 04:21, dn via Python-list wrote:
> What do you think a professionally-recognisable series of skill-levels
> for programmers?
This has been done or attempted many times, with perhaps the most
complete scheme being the British Computer Society's
"Industry Standard Mod
something in this assertion?
--
https://mail.python.org/mailman/listinfo/python-list
2]]
id(m[0]) == id(m[1]) == id(m[2])
False
These are lists. Each one is distinct. You could change one of them
and the other two would remain as they are.
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
use less space when possible.
Now if you really still want true copies, what ways might fool a compiler?
NoDup = [(5, 2), (6-1, 6/3), (12%7, 1/1 + 1/1)]
-Original Message-
From: Python-list On
Behalf Of Greg Ewing
Sent: Tuesday, June 15, 2021 7:11 PM
To: python-list@python.org
Subject
nd halts if the
size reached a gigabyte or perhaps charges extra because you used more of a
resource. The programmer choosing the list versus tuple alternative, would
get different behavior in such a hypothetical scenario.
-----Original Message-
From: Python-list On
Behalf Of Greg Ewing
Sent: Tue
web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
n_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
  22 POP_JUMP_IF_FALSE  21 (to 14)
24 LOAD_CONSTÂ Â 0 (None)
26 RETURN_VALUE
>>>
(there may be mistakes in this) but this is probably too much to expect
of the compiler.
Rob Cliffe
--
https://mail.python.org/mailman/listinfo/python-list
On 19/06/2021 07:50, Chris Angelico wrote:
On Sat, Jun 19, 2021 at 4:16 PM Rob Cliffe via Python-list
wrote:
On 18/06/2021 11:04, Chris Angelico wrote:
sys.version
'3.10.0b2+ (heads/3.10:33a7a24288, Jun 9 2021, 20:47:39) [GCC 8.3.0]'
def chk(x):
... if not(0 < x
l import shellcon, shell
ImportError: DLL load failed while importing shell: %1 is not a valid Win32
application.
what is its solution?
--
https://mail.python.org/mailman/listinfo/python-list
in range(1,
last)]))
Now why you want this is beyond me!
-Original Message-
From: Python-list On
Behalf Of Greg Ewing
Sent: Tuesday, June 22, 2021 7:05 PM
To: python-list@python.org
Subject: Re: Optimizing Small Python Code
On 23/06/21 3:03 am, Kais Ayadi wrote:
> for n in range(1, 7):
>
the string and uncompressed it, you might have code like:
print(unzip("n*n&&S!~se"))
-Original Message-
From: Python-list On
Behalf Of Michael F. Stemper
Sent: Wednesday, June 23, 2021 10:23 AM
To: python-list@python.org
Subject: Re: Optimizing Small Python Code
O
pare the output will be fooled.
-----Original Message-
From: jan
Sent: Thursday, June 24, 2021 3:01 AM
To: Avi Gross
Cc: python-list@python.org
Subject: Re: Optimizing Small Python Code
If I'm not mistaken, the original output is O(n^2) in quantity of chars, and as
output time is propo
primes that hard way.
Final note is there is not much in the discussion that is really about
Python as much of the argument remains similar in many programming
languages.
So, I am done and will ignore this thread.
From: Barry Scott
Sent: Thursday, June 24, 2021 3:12 PM
To: Avi Gross
Cc: py
in
> import pyttsx3
> ModuleNotFoundError: No module named 'pyttsx3'
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
hotos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
2050 results! LOL!
https://www.google.com/search?as_q=google+contacts&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=&cr=&as_qdr=all&as_sitesearch=pypi.org&as_occt=any&safe=images&as_filetype=&tbs=
-Original Message-
From: Python-list On
Beha
an be checked then in Python:
python
>>> import sys
>>> sys.path
['', '/home/someuser/.local/lib/python', '/usr/lib64/python39.zip',
'/usr/lib64/python3.9', '/usr/lib64/python3.9/lib-dynload',
'/usr/local/lib/python3.9/
.
   thanks, glenn
--
https://mail.python.org/mailman/listinfo/python-list
the way they probably did not write proper code in the first
place that loads the module(s) they need?
-Original Message-
From: Python-list On
Behalf Of Dennis Lee Bieber
Sent: Monday, July 26, 2021 9:46 PM
To: python-list@python.org
Subject: Re: a simple question
On Mon, 26 Jul 2021 22:19
it, diff, log, status, etc.
It's not completely unlike what you're describing above, which is
already supported automatically by argparse.
--
https://mail.python.org/mailman/listinfo/python-list
On 2021-08-03, Roel Schroeven wrote:
> Jon Ribbens via Python-list schreef op 3/08/2021 om 17:48:
>> On 2021-08-03, Michael Torrie wrote:
>> > On 8/2/21 1:43 PM, Sven R. Kunze wrote:
>> >> maybe, I am missing something here but is it possible to specify a
>>
supported by different regular expression systems and also Python
extensions. '|' is documented here:
https://docs.python.org/3/library/re.html#index-13
--
https://mail.python.org/mailman/listinfo/python-list
gt; > *mywriter = csv.DictWriter('results.csv', fieldnames=headers_new)*
> [snip]
>
> The problem has nothing to do with Flask.
>
> 'csv.reader' and 'csv.DictWriter' expect a file object, but you're
> passing them strings.
> --
> htt
ider that surprising, but maybe I should? (Honest question, I really
don't know.)
--
Wolfram Hinderer
--
https://mail.python.org/mailman/listinfo/python-list
On 11/08/2021 19:10, MRAB wrote:
On 2021-08-11 18:10, Wolfram Hinderer via Python-list wrote:
Am 11.08.2021 um 05:22 schrieb Terry Reedy:
Python is a little looser about whitespace than one might expect
from reading 'normal' code when the result is unambiguous in that it
cannot r
for us philosophers but not
really of much use for the question I thought was asked.
--
https://mail.python.org/mailman/listinfo/python-list
ords are being supplied.
--
https://mail.python.org/mailman/listinfo/python-list
On 2021-08-18, Robin Becker wrote:
> On 17/08/2021 22:47, Jon Ribbens via Python-list wrote:
> ...
>> That's only true if you're not using HTTPS - and you should *never*
>> not be using HTTPS, and that goes double if forms are being filled
>> in and d
ilman/listinfo/python-list
On 2021-08-23, Loris Bennett wrote:
> If instead of
>
> mail.set_content(body)
>
> I do
>
> mail.set_content(body, cte="quoted-printable")
Try print(mail.get_content()) rather than print(mail.as_string())
--
https://mail.python.org/mailman/listinfo/python-list
| Pytorial
|
|
|
Alan V.
--
https://mail.python.org/mailman/listinfo/python-list
cale DNS hack is probably capable of getting a very
> legit-looking SSL cert for the name as well.
There are so many trusted CAs these days that the chances of them all
being secure approaches zero - they are not all equal yet they are all
equally trusted. Which is why a change of CA on a site you have visited
before is potentially suspicious.
--
https://mail.python.org/mailman/listinfo/python-list
On 2021-08-25, Chris Angelico wrote:
> On Thu, Aug 26, 2021 at 12:16 AM Jon Ribbens via Python-list
> wrote:
>> There are so many trusted CAs these days that the chances of them all
>> being secure approaches zero - they are not all equal yet they are all
>> equally truste
On 2021-08-25, Chris Angelico wrote:
> On Thu, Aug 26, 2021 at 12:48 AM Jon Ribbens via Python-list
> wrote:
>> Another attempt at combatting this problem is DNS CAA records,
>> which are a way of politely asking all CAs in the world except the
>> ones you choose "ple
he permitted CAs - since, as you point
out, they genuinely own and control the relevant IP address.
--
https://mail.python.org/mailman/listinfo/python-list
om/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
[1, 3, 1, 13, 11, 4, 3, 5, 2, 4]
And the code can be a tad shorter, LOL!
But obviously then you have more overhead than an iterative solution or one
using a generator ...
-----Original Message-
From: Python-list On
Behalf Of Alan Gauld via Python-list
Sent: Saturday, August 28, 2021 6:52 PM
To:
thor of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
gram web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/mailman/listinfo/python-list
-Original Message-
From: Python-list On
Behalf Of Barry
Sent: Tuesday, August 31, 2021 7:02 PM
Cc: Python-list@python.org
Subject: Re: urgent

> On 31 Aug 2021, at 16:53, jak wrote:
>
> Il 31/08/2021 03:05, Python ha scritto:
>> Hari wrote:
>>> i wa
dphotos
--
https://mail.python.org/mailman/listinfo/python-list
2701 - 2800 of 5713 matches
Mail list logo