On Thu, 23 Oct 2025 at 12:01, Michael Torrie via Python-list
wrote:
>
> On 10/19/25 12:38 PM, Chris Angelico via Python-list wrote:
> > The entire premise of your post was flat-out wrong. Your data was
> > nothing but hallucinations, and there is nothing to discuss. I'
On 10/19/25 12:38 PM, Chris Angelico via Python-list wrote:
> The entire premise of your post was flat-out wrong. Your data was
> nothing but hallucinations, and there is nothing to discuss. I'm not
> even going to bother reading further, because every post you've
> writt
On 10/24/25 4:38 AM, Alan Bawden wrote:
> Paul Rubin writes:
>
>Lawrence D’Oliveiro writes:
>> >>> "%#0.3x" % 2
>> '0x002'
>
>f'0x{2:03x}
>
> Won't work for negative numbers.
That's true. For negative numbers the padding would have to be Fs
instead of 0s.
--
https:/
Zipapp is meant to produce things that will be delivered to an end-user. In
this way it should behave like most packaging tools and offer more "thorough"
compression options, limited only by the version of the Python interpreter on
the user's side (more specifically, their zipfile modules). As a
On 10/22/25 7:14 PM, Chris Angelico via Python-list wrote:
> And that's why it's so frustrating when someone bases their entire
> argument on an AI's nonsense. If the OP had simply posted it as a
> request, with no hallucinated claims, it would have been a
> straight-fo
Den 2025-11-13 skrev Loris Bennett :
Hi Loris,
Thanks for quick respons.
> Martin Schöön writes:
>
>>
>> I want to create a new environment using a specific python version
>> rather than leaving that to conda. Cheat-sheets and online conda
>> documentation tell me to use:
>>
>> conda create -n
About two years ago I moved from pip to conda. I have been happy with
conda until yesterday.
I want to create a new environment using a specific python version
rather than leaving that to conda. Cheat-sheets and online conda
documentation tell me to use:
conda create -n python=
like:
conda cr
Hi, this is my first time here on the mailing list.
I would like to open up for a discussion on how we can introduce a way to hide
imports.
I am proposing the introduction of an optional, non-breaking keyword, private,
to be used when importing a file. The goal is to allow developer to hide
in
Den 2025-11-14 skrev Stefan Ram :
> Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?= wrote or quoted:
>>If I try to specify a python version I don't get a new environment. The
>>error message I get is:
>>"The following packages are missing from the target environment:
>> - python=3.10"
>> (if I asked for ver
On 2025-11-16, Pokemon Chw via Python-list wrote:
> On Linux AF_UNIX + SOCK_STREAM sockets, there is a quirk in how the
> kernel handles control messages with SCM_RIGHTS:
>
> To successfully pass file descriptors via SCM_RIGHTS, you must send
> at least one byte of normal d
-Rahmaan Janhangeer
wrote:
>
> You have some demo code for it?
>
>
> Kind Regards,
>
> Abdur-Rahmaan Janhangeer
> about | blog
> github
> Mauritius
>
> On Mon, 10 Nov 2025, 07:18 Mingye Wang via Python-list,
> wrote:
>>
>> Zipapp is meant to
On 11/25/25 1:42 PM, bjotta via Python-list wrote:
> I want to be able to restrict / name mangle the usage.
> To avoid this being possible.
>
> '''
> from library.math import np.
> '''
Fascinating. I would never have thought to do an import like th
I agree that some of my reasoning was off and it does not directly with the
issue of sub-dependencies.
However, the Idea was more on how to hide it rather than the dependency issue
itself.
Anyways, I agree that an approach on name mangling might be more in line with
what we have in python.
Ho
On Thu, 4 Dec 2025 11:06:21 -0500 Em wrote:
>Two computers, both alike in dignity, in fair windows land...
>
>in Win10/Python 3.13 my program runs as well as can be expected. However, on
>my new computer Win11/Python 3.14.1 there is a peculiarity.
>
>On the new machine, when I click on the file na
On 12/4/25 10:47 PM, Em wrote:
>> Starter = open("HLYlog.txt", "w")
>>
>> Thoughts appreciated.
>
> -That's a relative path. Are you sure that the current working directory is
> what
> -you expect? It's generally better to work with absolute paths.
>
> Relative or not, I can't see how that could
On Sat, 6 Dec 2025 at 15:52, Michael Torrie via Python-list
wrote:
>
> On 12/5/25 6:36 PM, Chris Angelico via Python-list wrote:
> > On Sat, 6 Dec 2025 at 12:33, Michael Torrie via Python-list
> > wrote:
> >> Starter = open("HLYlog.txt","w");
>
On Sat, 6 Dec 2025 at 18:22, Michael Torrie wrote:
>
> On Sat, Dec 6, 2025, 00:04 Chris Angelico wrote:
>>
>> On Sat, 6 Dec 2025 at 15:52, Michael Torrie via Python-list
>> wrote:
>> >
>> > On 12/5/25 6:36 PM, Chris Angelico via Python-list wrote:
&
On Sat, Dec 6, 2025, 00:04 Chris Angelico wrote:
> On Sat, 6 Dec 2025 at 15:52, Michael Torrie via Python-list
> wrote:
> >
> > On 12/5/25 6:36 PM, Chris Angelico via Python-list wrote:
> > > On Sat, 6 Dec 2025 at 12:33, Michael Torrie via Python-list
> >
Richard Damon wrote:
> On 11/25/25 3:42 PM, bjotta via Python-list wrote:
> > It seem like you are talking about classes and sub-classes. I was talking
> > about dependencies in projects.
> > The technique is currently defined only for class and sub-classes, but
> coul
On Wed, 3 Dec 2025 at 07:41, Rich Shepard wrote:
>
> I'm learning PyQt5 and will have questions now and then when I can't find
> answers in Fitzpatrick's book or in a web search. There are several web fora
> for Qt and PyQt support but I much prefer maillists where threads are pushed
> to me and I
I wonder nobody mentioned the dedicated PyQt mailing list:
https://riverbankcomputing.com/support/lists
Mainly PyQt6, but I don't think questions about older versions are
forbidden.
--
https://mail.python.org/mailman3//lists/python-list.python.org
On 04/12/2025 18:25, Em wrote:
> in Win10/Python 3.13 my program runs as well as can be expected. However, on
> my new computer Win11/Python 3.14.1 there is a peculiarity.
>
> On the new machine, when I click on the file name, it immediately dumps out.
What exactly does "dumps out" mean? A blu
Qt's documentation is quite good. Here are the official python Qt docs
on the subject of slots in Qt 6 (PySide2):
https://doc.qt.io/qtforpython-6/tutorials/basictutorial/signals_and_slots.html
In short you decorate them with @Slot(params) where params are a list of
the Qt types your slot is expec
Thanks for the recommendations. I'm building a whole new version based on the
old one, with simpler code and functions to find win stats.
--
https://mail.python.org/mailman3//lists/python-list.python.org
On 12/5/25 6:36 PM, Chris Angelico via Python-list wrote:
> On Sat, 6 Dec 2025 at 12:33, Michael Torrie via Python-list
> wrote:
>> Starter = open("HLYlog.txt","w");
>> filepath = Starter.name
>
> Isn't that just...
>
> filepath = "H
On 12/5/25 5:12 PM, Em wrote:
> Ok, using "Open with Python" , the program fails on both computers.
> Still, double-click the filename on the WIN10 computer and the program
> works.
> While, double-click the filename on the WIN11 computer and the program
> fails.
Here's a test script for you that
On Sat, 6 Dec 2025 at 12:33, Michael Torrie via Python-list
wrote:
> Starter = open("HLYlog.txt","w");
> filepath = Starter.name
Isn't that just...
filepath = "HLYlog.txt"
?
ChrisA
--
https://mail.python.org/mailman3//lists/python-list.python.org
On 2025-12-07, Em wrote:
> I see >, >>, and >>>, attached at the beginning of lines in messages. I
> doubt that they are placed manually and wonder how they are placed
> automatically. How do I get said program?
I use slrn and emacs. [Just emerge both of them.]
Then I point slrn at the gmane
On 07/12/2025 16:25, Em wrote:
> I see >, >>, and >>>, attached at the beginning of lines in messages. I
> doubt that they are placed manually and wonder how they are placed
> automatically. How do I get said program?
I use Thunderbird and it provide the same feature.
You are not limited to > sy
Hello,
Am 07.12.2025 um 15:36 schrieb Em:
-Original Message-
From: Roel Schroeven
Sent: Sunday, December 7, 2025 7:23 AM
To: [email protected]
Subject: Re: A switch somewhere, or bug? CORRECTION
Op 7/12/2025 om 1:54 schreef Thomas Passin:
As I explained in my last post, that
On 12/7/25 3:03 AM, Em wrote:
> So, is this a change from WIN10?
Maybe. It could be a change in the pylauncher. Or a change in how
Windows starts pylauncher. It could be a difference between the versino
of Python Microsoft puts in the store vs the python.org package. It
could be a change in how
On 12/7/25 5:22 AM, Roel Schroeven wrote:
> Op 7/12/2025 om 1:54 schreef Thomas Passin:
>> As I explained in my last post, that's because in Windows 11 when
>> double-clicking, the working directory is the system's Windows
>> directory, not the one your program is in.
> Irrespective of anything e
On Tue, 9 Dec 2025 at 05:29, via Python-list wrote:
>
> I coded Rock, Paper, Scissors. I added the randomness, made it loop at the
> user's request, added win code, no problems there. I changed some strings to
> F-strings to practice using them, and now the first "elif&quo
>
>
> I coded Rock, Paper, Scissors. I added the randomness, made it loop at the
> user's request, added win code, no problems there. I changed some strings
> to F-strings to practice using them, and now the first "elif" in my if loop
> (player chooses rock, bot chooses paper) doesn't work. Any hel
Thanks for the tip. I'll do that here and in future games.
--
https://mail.python.org/mailman3//lists/python-list.python.org
Any decent programming editor will have a facility for selecting a group
of lines and adding/removing the appropriate commenting characters.
(If your editor doesn't have that, then by definition it's not decent. :-)
--
https://mail.python.org/mailman3//lists/python-list.python.org
difficulties that changing such a decision would
entail. So, like it or not, the indentation-driven structure will stay
in Python in the overseeable future.
On Tue, Dec 16, 2025 at 5:58 AM Greg Ewing via Python-list
wrote:
>
> Any decent programming editor will have a facility for sel
Hi.
I am currently facing issues compiling Python 3.14.2 on my RHEL 8 server. It
seems to relate to the --enable-optimizations argument. If I build with out the
--enable-optimizations it is finalizing the build, but with the argument, it
segfaults during the "test_functools"
./configure not wor
On 12/16/25 1:12 AM, Left Right via Python-list wrote:
> Nobody should be encouraged to change their editor. Neither do you
> know why the person chose the editor they chose, nor do you actually
> help in solving the problem the person has.
Well the fact is an editor that does not
> Well the fact is an editor that does not automate indenting blocks to
> one degree or another will make Python much more difficult to learn and
> use, and his experience with Python will not be positive. The editor
> not making Python indenting easy to manage is in reality the problem the
> orig
On Wed, 17 Dec 2025 at 10:33, Left Right via Python-list
wrote:
> No. Again. This is not your place. Not anyone else's to suggest users
> switch their editor to anything else. What you do is just being a jerk
> by not admitting the problem with Python and blaming it on the user.
functionality in the near future (plus a mild
case of 'I wanna code' [aka NIH] syndrome), push me to learn and implement this
myself.
Thanks in advance!
Cheers
Brian
--
https://mail.python.org/mailman/listinfo/python-list
I am not exactly sure what you mean, so I will guess.
Jinja may be what you're looking for. It's an important component of flask &
ansible, for example.
pyweave may also serve your purposes.
HTH
--
https://mail.python.org/mailman/listinfo/python-list
le to solve it myself.
Any thoughts about it?
Thanks!
--
https://mail.python.org/mailman/listinfo/python-list
ou're right... I was just, you know... "Async is so cool, let's just
async everything!"
>If it were a class, then you could make the individual methods be
> coroutines if desired and await those.
Thanks for your advise Ian!
--
https://mail.python.org/mailman/listinfo/python-list
a complete narcissistic
moron." -- H. L. Mencken.
--
https://mail.python.org/mailman/listinfo/python-list
ve now filtered news.bbs.geek.nz from my feed.
Will
--
"When we look around us, this is what we find,
The hope that springs eternal, springs right up your behind."
-- Ian Dury
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, April 15, 2022 at 2:17:28 AM UTC+5:30, Andrew Hernandez wrote:
> that is not an error, its simply the python console intrepeter
how do I open this file
--
https://mail.python.org/mailman/listinfo/python-list
e???
Caddy Man
Good sense makes one slow to anger, and it is his glory tooverlook an offense.
Proverbs 19:11
--
https://mail.python.org/mailman/listinfo/python-list
ither not
running or you have a problem with the configuration.
On Tue, Aug 09, 2022 at 08:27:16AM -0700, Axy via Python-list wrote:
trying to connect to MYSQL it appears the error msg below:
InterfaceError: 2003: Can't connect to MySQL server on 'localhost:3306'
(111 Connec
; port number is wrong or mysql is not listening on 127.0.0.1.
>
>
> Axy
>
--
https://mail.python.org/mailman/listinfo/python-list
--
Daniel Ciprus .:|:.:|:.
CONSULTING ENGINEER.CUSTOMER DELIVERY Cisco Systems Inc.
[email protected]
tel: +1-703
om [1]Mail for Windows
References
Visible links
1. https://go.microsoft.com/fwlink/?LinkId=550986
--
https://mail.python.org/mailman/listinfo/python-list
--
https://mail.python.org/mailman/listinfo/python-list
--
Daniel Ciprus .:|:.:|:.
CONSULTING ENGINEER.CUS
how to resolve this module import error? I can provide files
and/or more details as well.
Thank you all for the help!
Take care,
Erik Brown
--
https://mail.python.org/mailman/listinfo/python-list
ror: expected an
indented block after 'if' statement on line 29
Process finished with exit code 1
Good sense makes one slow to anger, and it is his glory tooverlook an offense.
Proverbs 19:11
--
https://mail.python.org/mailman/listinfo/python-list
Isaiah 43:2
| | Virus-free.www.avg.com |
--
https://mail.python.org/mailman/listinfo/python-list
version says it expects ' first (to close the fstring)
then on a new line below it, it mentions the comma and )
I believe that is just showing you after ' it expects you to end the
print with ) as you have
or , to add additional arguments to print
--
https://mail.python.org/mailman/list
u: and when you pass
through the rivers, they will not sweep over you. When you walk through the
fire, you will not be burned: the flames will not set you ablaze."
Isaiah 43:2
On Tuesday, April 18, 2023 at 11:17:52 PM MDT, Kevin M. Wilson via
Python-list wrote:
print (f'
ot;
Isaiah 43:2
| | Virus-free.www.avg.com |
--
https://mail.python.org/mailman/listinfo/python-list
walk through the
fire, you will not be burned: the flames will not set you ablaze."
Isaiah 43:2
| | Virus-free.www.avg.com |
--
https://mail.python.org/mailman/listinfo/python-list
saiah 43:2
| | Virus-free.www.avg.com |
--
https://mail.python.org/mailman/listinfo/python-list
python.org/mailman/listinfo/python-list
of said code.
"When you pass through the waters, I will be with you: and when you pass
through the rivers, they will not sweep over you. When you walk through the
fire, you will not be burned: the flames will not set you ablaze."
Isaiah 43:2
--
https://mail.python.org/mailman/listinfo/python-list
5'))) |
"When you pass through the waters, I will be with you: and when you pass
through the rivers, they will not sweep over you. When you walk through the
fire, you will not be burned: the flames will not set you ablaze."
Isaiah 43:2
--
https://mail.python.org/mailman/listinfo/python-list
e."
Isaiah 43:2
On Thursday, May 25, 2023 at 05:55:06 PM MDT, Kevin M. Wilson via
Python-list wrote:
Ok, I'm not finding any info. on the int() for converting a str to an int
(that specifies a base parameter)?! The picture is of the code I've written...
And the
\site-packages\pipenv\patched\pip
Lib\site-packages\pipenv\utils\pip.py
Lib\site-packages\pipenv\utils\__pycache__\pip.cpython-310.pyc
PS C:\Users\Owner>
-=-=-
I've just run the installer -- python-3.10.11-amd64.exe -- as admin, in
"repair" mode! There is NO pip.exe under
On Thu, 8 Jun 2023 17:22:22 -0400, Thomas Passin
declaimed the following:
>On 6/8/2023 3:14 PM, Dennis Lee Bieber via Python-list wrote:
> C:\Users\Owner>
>> -=-=-
>> Windows PowerShell
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>>
On Sat, 10 Jun 2023 11:32:53 -0500, Eryk Sun declaimed
the following:
>On 6/10/23, Thomas Passin via Python-list wrote:
>>
>> We can find pip.exe using good old-fashioned dir (we don't need any
>> new-fangled Powershell):
>>
>> C:\Users\tom>dir AppData
On 2023-06-20 02:15:00 +0900, Inada Naoki via Python-list wrote:
> stream.flush() doesn't mean final output.
> Try stream.close()
After close() the value isn't available any more:
Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux
Type "help", "co
rate decision?
hp
--
_ | Peter J. Holzer| Story must make more sense than reality.
|_|_) ||
| | | [email protected] |-- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"
signature.asc
Description: PGP signature
--
https://mail.python.org/mailman/listinfo/python-list
On 2023-08-30 11:32:02 +, c.buhtz--- via Python-list wrote:
> I do use "textwrap" package to wrap longer texts passages. Works well with
> English.
> But the source string used is translated via gettext before it is wrapped.
>
> Using languages like Japanese or Chi
On 2023-08-30 13:18:25 +, c.buhtz--- via Python-list wrote:
> Am 30.08.2023 14:07 schrieb Peter J. Holzer via Python-list:
> > another caveat: Japanese characters are usually double-width. So
> > (unless your line length is 130 characters for English) you would
> > want t
On 2023-08-31 21:32:04 +0100, Chris Green via Python-list wrote:
> What sort of exception should a class raise in __init__() when it
> can't find an appropriate set of data for the parameter passed in to
> the class instantiation?
>
> E.g. I have a database with some names and
)
The "problem" is that I've currently written some code that works but it uses
global variables ... and I don't like global variables. I assume there is a
better way to write this, but how?
= jem
--
https://mail.python.org/mailman/listinfo/python-list
On 3 Sep 2023, at 19:13, MRAB via Python-list wrote:
> You could use pass an anonymous function (a lambda) to re.sub:
Of course !! Thanks.
= jem
--
https://mail.python.org/mailman/listinfo/python-list
On 2023-09-03 18:10:29 +0200, Jan Erik Moström via Python-list wrote:
> I want to replace some text using a regex-pattern, but before creating
> replacement text I need to some file checking/copying etc. My code
> right now look something like this:
>
> def fix_stuff(m):
>
On 3 Sep 2023, at 18:10, Jan Erik Moström via Python-list wrote:
> I'm looking for some advice for how to write this in a clean way
Thanks for all the suggestion, I realize that I haven't written Python code in
a while. I should have remembered this myself !!! Thanks for remindi
n the
times. Is there a timeit-like function in Postgresql?
Thanks!
Albert-Jan
--
https://mail.python.org/mailman/listinfo/python-list
On 2023-09-15 17:42:06 +0200, Albert-Jan Roskam via Python-list wrote:
>This is more related to Postgresql than to Python, I hope this is ok.
>I want to measure Postgres queries N times, much like Python timeit
>(https://docs.python.org/3/library/timeit.html). I know abou
On 2023-09-15 21:48:37 +, rmlibre--- via Python-list wrote:
> I'd like to capture the output of `time.perf_counter_ns()` as an 8-byte
> timestamp.
>
> I'm aware that the docs provide an undefined start value for that clock.
> I'm going to assume that means it can
On Sep 15, 2023 19:45, "Peter J. Holzer via Python-list"
wrote:
On 2023-09-15 17:42:06 +0200, Albert-Jan Roskam via Python-list wrote:
> This is more related to Postgresql than to Python, I hope this is
ok.
> I want to measure Postgres queries N
On 2023-09-17 11:01:43 +0200, Albert-Jan Roskam via Python-list wrote:
>On Sep 15, 2023 19:45, "Peter J. Holzer via Python-list"
> wrote:
>
> On 2023-09-15 17:42:06 +0200, Albert-Jan Roskam via Python-list wrote:
> > This is more related to Postg
On 2023-09-15 14:15:23 +, c.buhtz--- via Python-list wrote:
> I tried to install it via "pipx install -e .[develop]". It's pyproject.toml
> has a bug: A missing dependency "dateutil". But "dateutil" is not available
> from PyPi for Python 3.11 (th
On 2023-09-18 18:56:35 +, c.buhtz--- via Python-list wrote:
> On 2023-09-18 10:16 "Peter J. Holzer via Python-list"
> wrote:
> > On 2023-09-15 14:15:23 +, c.buhtz--- via Python-list wrote:
> > > I tried to install it via "pipx install -e .[develop]"
On 2023-09-20 13:31:14 +, c.buhtz--- via Python-list wrote:
> Dear Peter,
>
> maybe we have a missunderstanding.
>
> Am 20.09.2023 14:43 schrieb Peter J. Holzer via Python-list:
> > > > > "dateutil" is not available from PyPi for Python 3.11
> >
rint Loop (REPL) is ready for you to type some python
statements. For instance:
>>> x = 2**3
>>> print(x)
8
>>>
--
Michael F. Stemper
Outside of a dog, a book is man's best friend.
Inside of a dog, it's too dark to read.
--
https://mail.python.org/mailman/listinfo/python-list
On 26/9/23 22:27, Abdelkhelk ashref salay eabakh via Python-list wrote:
Dear Python team,
This is my not first time using Python, I tried to launch Python and it showed
I'm no expert but
"Python 3.11.3 (tags/v3.11.3:f3909b8, Apr 4 2023, 23:49:59) [MSC v.1934 64 bit
(AMD6
d "python setup.py egg_info" failed with error code 1 in
c:\users\kuchipz\appdata\local\temp\pip-build-gc4ekm\pip
--
https://mail.python.org/mailman/listinfo/python-list
On Wednesday, 27 September 2023 at 21:32:53 UTC+2, Mats Wichmann wrote:
> On 9/27/23 05:17, Zuri Shaddai Kuchipudi via Python-list wrote:
> > hello everyone this the error that im getting while trying to install and
> > upgrade pip on what is the solution for it?
> >
On 2023-09-27 20:32:25 -, Jon Ribbens via Python-list wrote:
> On 2023-09-27, Larry Martell wrote:
> > On Wed, Sep 27, 2023 at 12:42 PM Jon Ribbens via
> > Python-list wrote:
> >> On 2023-09-27, Larry Martell wrote:
> >> > lrwxrwxrwx 1 larrymartell l
On Wednesday, 27 September 2023 at 23:33:02 UTC+2, Chris Angelico wrote:
> On Thu, 28 Sept 2023 at 07:27, Mats Wichmann via Python-list
> wrote:
> >
> > Upgrading to Python 3 is the best answer... except when it isn't. If
> > you want to convert a small project i
On 2023-10-02 19:44:12 +0300, אורי via Python-list wrote:
> I have an issue since about 5 months now. Python 3.12.0 venv not working
> with psycopg2 on Windows. I created 2 issues on GitHub but they were
> closed. I checked today with the new Python release but it's still not
> wo
I can help you
On Mon, 9 Oct 2023, 11:15 pm Thri sowmya.G via Python-list, <
[email protected]> wrote:
>
>
>The problem is how many times I have uninstalled the python version but
>always it is showing the same version after the installation of new
>ver
ped, I
find this hard to believe.
--
Michael F. Stemper
Outside of a dog, a book is man's best friend.
Inside of a dog, it's too dark to read.
--
https://mail.python.org/mailman/listinfo/python-list
an be
proven correct or incorrect. But, there are a lot more that cannot.
--
Michael F. Stemper
Outside of a dog, a book is man's best friend.
Inside of a dog, it's too dark to read.
--
https://mail.python.org/mailman/listinfo/python-list
On 25/10/2023 05.45, o1bigtenor wrote:
On Tue, Oct 24, 2023 at 8:35 PM Chris Angelico via Python-list
wrote:
3. Catch the failure before you commit and push. Unit tests are great for this.
Where might I find such please.
You don't "find" unit tests; you write them. A un
On 2023-11-14 00:11:30 +0200, Dom Grigonis via Python-list wrote:
> Benchmarks:
> test1 = [False] * 100 + [True] * 2
> test2 = [True] * 100 + [False] * 2
>
> TIMER.repeat([
> lambda: xor(test1), # 0.0168
> lambda: xor(test2), # 0.0172
> lambda:
reality.
|_|_) ||
| | | [email protected] |-- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"
signature.asc
Description: PGP signature
--
https://mail.python.org/mailman/listinfo/python-list
On 2023-11-16 11:34:16 +1300, Rimu Atkinson via Python-list wrote:
> > > Why don't you use re.findall?
> > >
> > > re.findall(r'\b[0-9]{2,7}-[0-9]{2}-[0-9]{2}\b', txt)
> >
> > I think I can see what you did there but it won't make
On 2023-11-17 07:48:41 -0500, Thomas Passin via Python-list wrote:
> On 11/17/2023 6:17 AM, Peter J. Holzer via Python-list wrote:
> > Oh, and Python (just like Perl) allows you to embed whitespace and
> > comments into Regexps, which helps readability a lot if you have to
> &g
azoni and
Marc-Andre Lemburg
--
https://mail.python.org/mailman/listinfo/python-list
5501 - 5600 of 5908 matches
Mail list logo