Being a user of that list i've also noticed that only recently. hope that
this list is good enough to take on all python questions. Are there any
other alternative lists? Thx
On Wed, 28 May 2025, 01:35 Alan Gauld via Python-list, <
python-list@python.org> wrote:
> I am the mo
On 5/27/25 18:00, Alan Gauld via Python-list wrote:
On 28/05/2025 00:32, Alan Gauld via Python-list wrote:
The archives are still there and the sign-up page seems to
work, but it doesn't recognise me. I tried signing up as
a new member with a different address and that seems to work(
Message received!
Hope you enjoyed your holiday...
On 28/05/25 12:00, Alan Gauld via Python-list wrote:
On 28/05/2025 00:32, Alan Gauld via Python-list wrote:
The archives are still there and the sign-up page seems to
work, but it doesn't recognise me. I tried signing up as
a new m
On 28/05/2025 00:32, Alan Gauld via Python-list wrote:
> The archives are still there and the sign-up page seems to
> work, but it doesn't recognise me. I tried signing up as
> a new member with a different address and that seems to work(ie no
> errors) but I still don;t see any
I am the moderator of the python tutor mailing list.
Or at least I was. It seems the tutor list has been deleted.
I came back from vacation to find that I can't access it.
Nobody told me anything in advance. I've tried emailing
postmaster but got no response.
I wonder if anyone here ha
Here’s the second 3.14 beta.
https://www.python.org/downloads/release/python-3140b2/
This is a beta preview of Python 3.14
Python 3.14 is still in development. This release, 3.14.0b2, is the second
of four planned beta releases.
Beta release previews are intended to give the wider community
;s home |directory).
>
> Apps should be abiding by the XDG spec nowadays, and stop cluttering up
> users’ home directories.
Good luck with that. I've got 48 directories ranging from .arduino15
to .vscode. Then there are the 58 directories in .config.
--
https://mail.python.org/mailman3//lists/python-list.python.org
Am 18.05.2025 22:16 schrieb Larry Martell via Python-list:
https://youtu.be/pqBqdNIPrbo?si=P2ukSXnDj3qy3HBJ
Awesome! Which release channels will be used? How can we pay?
--
https://mail.python.org/mailman/listinfo/python-list
On 5/18/25 15:16, Larry Martell wrote:
https://youtu.be/pqBqdNIPrbo?si=P2ukSXnDj3qy3HBJ
Get ready Guido:
"I'd like to thank the Academy ..."
--
https://mail.python.org/mailman/listinfo/python-list
https://youtu.be/pqBqdNIPrbo?si=P2ukSXnDj3qy3HBJ
--
https://mail.python.org/mailman/listinfo/python-list
onnal programming map and filter list comprehension
expressions
* Add dict's | merge and |= update operators
* Reorganize sequences index sectionto make room
* Add with () group of context to open multiple files
A+
L.Pointal.
--
https://mail.python.org/mailman/listinfo/python-list
Only one day late, welcome to the first beta!
https://www.python.org/downloads/release/python-3140b1/
This is a beta preview of Python 3.14
Python 3.14 is still in development. This release, 3.14.0b1, is the first
of four planned beta releases.
Beta release previews are intended to give the
-only phase.
Python 3.14.0a7
Here comes the final alpha! This means we have just four weeks until the
first beta to get those last features into 3.14 before the feature freeze
on 2025-05-06!
https://www.python.org/downloads/release/python-3140a7/
This is an early developer preview of Python 3.14
Here comes the penultimate alpha.
https://www.python.org/downloads/release/python-3140a6/
This is an early developer preview of Python 3.14
Major new features of the 3.14 series, compared to 3.13:
Python 3.14 is still in development. This release, 3.14.0a6, is the sixth
of seven planned alpha
Yes,
I have 24.3.1 version of pip in my win 11 device, there is a new version of
pip available, 25.0.1
Shall I upgrade that?
Kind regards,
Praveen
On Mon, 10 Mar 2025, 03:04 Thomas Passin via Python-list, <
python-list@python.org> wrote:
> On 3/9/2025 3:16 PM, Gilmeh Serda via Py
Is that an approved location for executables?
May I know? What do you mean by approved location?
Kind regards,
Praveen
On Mon, 10 Mar 2025, 01:25 Gilmeh Serda via Python-list, <
python-list@python.org> wrote:
> On Sat, 8 Mar 2025 15:59:51 +0530, Praveen Kumar wrote:
>
> >
Hi Matt,
I pointed out onething that related to the errors, what I pointed out is I
just gone through the system 32 path in c drive and I found the python
executive and other python files indicating 0 kb, and I deleted these exe,
since these are seem to be corrupted to me, then after I tried
On 3/10/25 10:08, Praveen Kumar via Python-list wrote:
Hi Matt,
I pointed out onething that related to the errors, what I pointed out is I
just gone through the system 32 path in c drive and I found the python
executive and other python files indicating 0 kb, and I deleted these exe,
since
On 3/9/2025 3:16 PM, Gilmeh Serda via Python-list wrote:
On Sat, 8 Mar 2025 15:59:51 +0530, Praveen Kumar wrote:
"C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe"
Is that an approved location for executables?
Yes, that's where a python.org install normal
If the path had been set for a local user but not for the system, you
would see that behavior.
The install from python.org should have installed the "py" launcher.
Does that run? IOW, does typing "py" launch Python?
Yes it does for both admin and non-admin cmd shells. But p
d been set for a local user but not for the system, you
would see that behavior.
The install from python.org should have installed the "py" launcher.
Does that run? IOW, does typing "py" launch Python?
Kind regards,
Sincerely,
Praveen Kumar
Mob: +91 9515531643
On Sun, 9
Passin via Python-list, <
python-list@python.org> wrote:
> On 3/8/2025 5:29 AM, Praveen Kumar via Python-list wrote:
> > Hi Python community and members,
> >
> > I hope this email finds you well, I want you to be assisted in resolving
> > this following issue. kindl
ly by
accident? I don't know.
On Sat, 8 Mar 2025 at 16:59, Praveen Kumar via Python-list <
python-list@python.org> wrote:
> Hi Python community and members,
>
> I hope this email finds you well, I want you to be assisted in resolving
> this following issue. kindly look at t
,
> Sincerely,
> Praveen Kumar
> Mob: +91 9515531643
>
> On Sun, 9 Mar 2025, 03:52 Thomas Passin via Python-list, <
> python-list@python.org> wrote:
>
>> On 3/8/2025 5:29 AM, Praveen Kumar via Python-list wrote:
>> > Hi Python community and members,
>>
On 3/8/2025 5:29 AM, Praveen Kumar via Python-list wrote:
Hi Python community and members,
I hope this email finds you well, I want you to be assisted in resolving
this following issue. kindly look at the below concern,
"""I’m running into an error where I get a 'This app
Hi Python community and members,
I hope this email finds you well, I want you to be assisted in resolving
this following issue. kindly look at the below concern,
"""I’m running into an error where I get a 'This app can’t run on your PC'
pop-up with (Access is Denied err
I think Python compiles with fPIC by default. Something else had
happened to the OPs checkout that caused these errors. OP needs to
better describe what they were doing to properly understand the
problem.
On Sun, Mar 2, 2025 at 10:10 PM Lew Pitcher via Python-list
wrote:
>
>
> First
d so on. Omg, I didn't know there
were so many reasons... Funny is that the only real reason I really
have for no reading on-screen is that I just don't want to.
--
https://mail.python.org/mailman/listinfo/python-list
ndependant
code, which your linker (apparently) requires for a specific type of relocation.
[snip]
HTH
--
Lew Pitcher
"In Skills We Trust"
--
https://mail.python.org/mailman/listinfo/python-list
How do I compensate for
ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime';
recompile with -fPIC
>>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o)
>>> referenced by thread_pthread.h:138 (Python/thread_pthread.h:138
them.
--
https://mail.python.org/mailman/listinfo/python-list
Dear all,
There are still 5 seats left for the upcoming Physalia course "Machine Learning
Methods for Longitudinal Data with Python," which is taking place online from
6-9 May. This course will provide a comprehensive introduction to analyzing
sequence data (repeated over time or s
s wonders. A good layout and talble of
contents also helps. Decorators? Chapter 14, page 254, all you ever wanted
to know about them.
--
https://mail.python.org/mailman/listinfo/python-list
fast. So I keep it
> all online now.
It's much more pleasurable (to me) to read books off-screen.
--
https://mail.python.org/mailman/listinfo/python-list
Here comes the antepenultimate alpha.
https://www.python.org/downloads/release/python-3140a5/
This is an early developer preview of Python 3.14.
Major new features of the 3.14 series, compared to 3.13:
Python 3.14 is still in development. This release, 3.14.0a5, is the fifth
of seven planned
Thomas Wouters writes:
> A small release day today! That is to say the releases are relatively
> small; the day itself was of average size, as most days are.
nice.
--
this is my clever sig.
--
https://mail.python.org/mailman/listinfo/python-list
A small release day today! That is to say the releases are relatively
small; the day itself was of average size, as most days are.
<https://discuss.python.org/t/python-3-13-2-and-3-12-9-now-available/79509#p-225156-python-3132-1>Python
3.13.2
Python 3.13’s second maintenance release. Abo
Dear all,
there are the last seats available for our online course - INTRODUCTION TO
PYTHON PROGRAMMING FOR BIOLOGISTS
Dates: 24–27 February
Course Website: [ https://www.physalia-courses.org/courses-workshops/python24/
]( https://www.physalia-courses.org/courses-workshops/python24/ )
This four
Hello, three dot fourteen dot zero alpha four!
https://www.python.org/downloads/release/python-3140a4/
This is an early developer preview of Python 3.14.
Python 3.14 is still in development. This release, 3.14.0a4, is the fourth
of seven planned alpha releases.
Alpha releases are intended to
On 1/13/25 22:47, roc str via Python-list wrote:
having a difficult time installing Python-3.10.16.tgz using
the Python-3.20.0a2.exe installer.
Please Advise
Mario Ramos.
Your question doesn't exactly make sense, but note this:
Windows installers are not built for "security bugfix
having a difficult time installing Python-3.10.16.tgz using
the Python-3.20.0a2.exe installer.
Please Advise
Mario Ramos.
--
https://mail.python.org/mailman/listinfo/python-list
/This announcement is in German since it targets a local user
group//meeting in Düsseldorf, Germany/
Ankündigung
Python Meeting Düsseldorf - Januar 2025
<https://www.egenix.com/company/news/Python-Meeting-Duesseldorf-2025-01-22>
Ein Treffen von Python Enthusiast
dback is most welcome (especially bug reports [3],
patches and suggestions for improvement, or any other points via this group).
Enjoy!
Cheers
Vinay Sajip
[1] https://github.com/vsajip/python-gnupg
[2] https://pypi.org/project/python-gnupg/0.5.4
[3] https://github.com/vsajip/python-gnupg/issu
On Sat, 4 Jan 2025 at 09:22, aotto1968 via Python-list
wrote:
>
> On 30.12.24 18:29, Michael Torrie wrote:
> > On 12/26/24 12:34 AM, aotto1968 via Python-list wrote:
> >> sorry you don't understand the problem…
> >>
> >> > You managed to make a
On 30.12.24 18:29, Michael Torrie wrote:
On 12/26/24 12:34 AM, aotto1968 via Python-list wrote:
sorry you don't understand the problem…
> You managed to make a build of Python that attempts to link to a DLL
I never touch the OpenSUSE python. the OpenSUSE python try to use my
sqalite
On 2024-12-27, Chris Green via Python-list wrote:
> Cameron Simpson wrote:
>> On 25Dec2024 14:52, Abdur-Rahmaan Janhangeer wrote:
>> >I have been following discussions on Discourse (discuss.python.org)
>> >these last times.
>> >
>> >I think tha
On 12/27/24 00:58, Chris Green via Python-list wrote:
Yes, it's the one saving grace of a Discourse forum, you can use it by
E-Mail and it behaves quite nicely with a text mode E-Mail client such
as mutt so you can keep threads separate, follow sub-threads, etc.
Not quite as good as this
On 12/26/24 12:34 AM, aotto1968 via Python-list wrote:
> sorry you don't understand the problem…
>
> > You managed to make a build of Python that attempts to link to a DLL
>
> I never touch the OpenSUSE python. the OpenSUSE python try to use my
> sqalite3.
The *only*
On Mon, 30 Dec 2024 at 15:02, aotto1968 via Python-list
wrote:
> > You managed to make a build of Python that attempts to link to a DLL
>
> I never touch the OpenSUSE python. the OpenSUSE python try to use my
> sqalite3.
You keep saying this, but do you even know what "make
s a very good "mailing list" mode. I use it that was >90% of
> the time, and file both posts from Discourse and posts from python-list
> into my "python" mail folder.
Yes, it's the one saving grace of a Discourse forum, you can use it by
E-Mail and it behaves
On 26.12.24 19:33, Michael Torrie wrote:
On 12/25/24 10:46 PM, Chris Angelico wrote:
Right. That's exactly what would happen if he'd built Python using
absolute paths to libraries, which is the normal way to do it. And so
the solution is to rebuild Python using absolute paths to
On 26.12.24 04:55, Michael Torrie wrote:
On 12/25/24 3:55 PM, Chris Angelico via Python-list wrote:
On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list
wrote:
It is not only an *usage* error it is also an *security* error because:
1) "cnf" is using OS python
2) os "root&q
On 26.12.24 04:55, Michael Torrie wrote:
On 12/25/24 3:55 PM, Chris Angelico via Python-list wrote:
On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list
wrote:
It is not only an *usage* error it is also an *security* error because:
1) "cnf" is using OS python
2) os "root&q
On 26.12.24 06:46, Chris Angelico wrote:
On Thu, 26 Dec 2024 at 14:57, Michael Torrie via Python-list
wrote:
On 12/25/24 3:55 PM, Chris Angelico via Python-list wrote:
On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list
wrote:
It is not only an *usage* error it is also an *security
On 25.12.24 23:55, Chris Angelico wrote:
On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list
wrote:
It is not only an *usage* error it is also an *security* error because:
1) "cnf" is using OS python
2) os "root" python
3) using **my** local non-root library
Yes.
On 12/29/24 15:10, Cameron Simpson via Python-list wrote:
On 29Dec2024 07:16, Kevin M. Wilson wrote:
Excuse please, my failure. As I have not been following this
discussion, why is the subject "Python List Is NOT Dead" a subject for
discussion? Has the list been moving towards clo
On 29Dec2024 07:16, Kevin M. Wilson wrote:
Excuse please, my failure. As I have not been following this discussion, why is the
subject "Python List Is NOT Dead" a subject for discussion? Has the list been
moving towards closing?
No, the list's still around. But there wa
Excuse please, my failure. As I have not been following this discussion, why is
the subject "Python List Is NOT Dead" a subject for discussion? Has the list
been moving towards closing?
KMW
***
"When you pass through the waters, I w
thank you Mr. Jahangir.
you are expert in python.
On Fri, Dec 27, 2024 at 2:28 AM Cameron Simpson via Python-list <
python-list@python.org> wrote:
> On 25Dec2024 14:52, Abdur-Rahmaan Janhangeer wrote:
> >I have been following discussions on Discourse (discuss.python.org)
>
of
the time, and file both posts from Discourse and posts from python-list
into my "python" mail folder.
--
https://mail.python.org/mailman/listinfo/python-list
On 12/25/24 10:46 PM, Chris Angelico wrote:
> Right. That's exactly what would happen if he'd built Python using
> absolute paths to libraries, which is the normal way to do it. And so
> the solution is to rebuild Python using absolute paths to libraries.
You're right. De
On 25/12/24 23:52, Abdur-Rahmaan Janhangeer via Python-list wrote:
Hey all,
I have been following discussions on Discourse (discuss.python.org) these
last times.
I think that it definitely lacks some of the joys of the mailing list:
1/ Categories
The discussion has fixed categories. No
On Thu, 26 Dec 2024 at 14:57, Michael Torrie via Python-list
wrote:
>
> On 12/25/24 3:55 PM, Chris Angelico via Python-list wrote:
> > On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list
> > wrote:
> >> It is not only an *usage* error it is also an *security* error
On 12/25/24 8:55 PM, Michael Torrie wrote:
> This is Python related, but
> it's not necessarily python's fault per se.
It's also a good reminder to use venv. Then there's no way of
activating your custom python with its custom sqlite3 library unless you
explicitly ac
On 12/25/24 3:55 PM, Chris Angelico via Python-list wrote:
> On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list
> wrote:
>> It is not only an *usage* error it is also an *security* error because:
>>
>> 1) "cnf" is using OS python
>> 2) os "r
On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list
wrote:
> It is not only an *usage* error it is also an *security* error because:
>
> 1) "cnf" is using OS python
> 2) os "root" python
> 3) using **my** local non-root library
Yes. And YOU were the one wh
On 25.12.24 12:05, aotto1968 wrote:
I get angry…
next python error…
1) The OpenSUSE command "cnf" checks if a special package feature is installed.
2) I recently compiled **my** SQLite3 library specifically tailored to **my** requirement and installed it in **my** SQLite3
project
I get angry…
next python error…
1) The OpenSUSE command "cnf" checks if a special package feature is installed.
2) I recently compiled **my** SQLite3 library specifically tailored to **my** requirement and installed it in **my** SQLite3
project directory and never changed th
On Wed, 25 Dec 2024 14:52:23 +0400
Abdur-Rahmaan Janhangeer via Python-list wrote:
> Hey all,
>
> I have been following discussions on Discourse (discuss.python.org)
> these last times.
>
> I think that it definitely lacks some of the joys of the mailing list:
>
>
out <https://compileralchemy.github.io/> | blog
<https://www.pythonkitchen.com>
github <https://github.com/Abdur-RahmaanJ>
Mauritius
--
https://mail.python.org/mailman/listinfo/python-list
On 12/16/24 12:08 AM, aotto1968 via Python-list wrote:
> If I read the answers I come to the conclusion that the "supporters" at
> python doesn't ever understand the problem.
Sorry you feel that way. Various people gave the best advice they could
based on what you had prov
O Alpha 3, O Alpha 3, how lovely are your branches!
https://www.python.org/downloads/release/python-3140a3/
This is an early developer preview of Python 3.14.
Python 3.14 is still in development. This release, 3.14.0a3, is the third
of seven planned alpha releases.
Alpha releases are intended
On 2024-12-16, aotto1968 via Python-list wrote:
> If I read the answers I come to the conclusion that the "supporters"
> at python doesn't ever understand the problem.
You should definitely demand to speak to the manager and request your
money back.
--
Grant
--
ht
On 2024-12-16 08:08:46 +0100, aotto1968 via Python-list wrote:
> On 13.12.24 11:36, aotto1968 wrote:
> > it's a shame...
> > almost every tool I touch that uses "python" in some way has some
> > configuration error because apparently a __private__ python
On 13.12.24 11:36, aotto1968 wrote:
it's a shame...
almost every tool I touch that uses "python" in some way has some configuration error because apparently a __private__ python
installation __isn't__ properly "understood".
-> I think after ~30 years *python*
On 12/14/24 10:31 AM, aotto1968 via Python-list wrote:
> The CORE problem is that python3 works well in *my* environment but the
> installation is done as root and root does not use *my* environment.
>
> the mono build search for a working python3 and find *my*
> > HOME/ext/x86
On Sun, 15 Dec 2024 at 06:05, aotto1968 via Python-list
wrote:
> The CORE problem is that python3 works well in *my* environment but the
> installation is done as root and root does not use *my* environment.
>
So, it's an environment problem, NOT a Python problem. You messed up
you
On 14.12.24 10:56, Peter J. Holzer wrote:
On 2024-12-13 11:36:01 +0100, aotto1968 via Python-list wrote:
it's a shame...
almost every tool I touch that uses "python" in some way has some
configuration error because apparently a __private__ python installation
__isn't__
On 12/14/24 2:56 AM, Peter J. Holzer via Python-list wrote:
> So it might be because it's in a different directory ("HOME/ext/..." is
> a relative path. That will not work in a different directory. Also
> "HOME" is a strange choice for a directory name. Did
On 12/13/24 1:56 PM, aotto1968 via Python-list wrote:
> the problem is *not* to setup an environment variable, the problem is that
> python is *not*
> able to setup the *python* environment by it self.
You're mistaken in this case. Nothing you've posted indicates the
problem
On 2024-12-13 11:36:01 +0100, aotto1968 via Python-list wrote:
> it's a shame...
> almost every tool I touch that uses "python" in some way has some
> configuration error because apparently a __private__ python installation
> __isn't__ properly "understood"
On 13.12.24 19:24, Barry wrote:
On 13 Dec 2024, at 15:54, aotto1968 via Python-list
wrote:
HOME/ext/x86_64-suse-linux-gnu/debug/bin/python3: error while loading shared
libraries: libpython3.12d.so.1.0: cannot open shared object file: No such file
or directory
This is a debug build
> On 13 Dec 2024, at 15:54, aotto1968 via Python-list
> wrote:
>
> HOME/ext/x86_64-suse-linux-gnu/debug/bin/python3: error while loading shared
> libraries: libpython3.12d.so.1.0: cannot open shared object file: No such
> file or directory
This is a debug b
On 13.12.24 11:44, aotto1968 wrote:
On 13.12.24 11:36, aotto1968 wrote:
it's a shame...
almost every tool I touch that uses "python" in some way has some configuration error because apparently a __private__ python
installation __isn't__ properly "understood"
On 13.12.24 11:36, aotto1968 wrote:
it's a shame...
almost every tool I touch that uses "python" in some way has some configuration error because apparently a __private__ python
installation __isn't__ properly "understood".
-> I think after ~30 years *python*
it's a shame...
almost every tool I touch that uses "python" in some way has some configuration error because apparently a __private__ python
installation __isn't__ properly "understood".
-> I think after ~30 years *python* should be able to handle a shared-l
On 12/9/24 12:19 PM, marc nicole via Python-list wrote:
> Hello,
>
> The fatal error exits the program with a code -1 while referencing the
> memory address involved and nothing else.
>
> How to catch it in Python 2.7?
Does the problem occur with Python 3.x? At this date,
Hello,
The fatal error exits the program with a code -1 while referencing the
memory address involved and nothing else.
How to catch it in Python 2.7?
PS: please not I am not talking about exceptions but an error resulting
from the disconnection of my bluetooth microphone abruptly and leading
🙏
On Tue, Dec 3, 2024 at 5:06 PM Thomas Wouters via Python-list <
python-list@python.org> wrote:
> Another big release day! Python 3.13.1 and 3.12.8 were regularly scheduled
> releases, but they do contain a few security fixes. That makes it a nice
> time to release the se
Another big release day! Python 3.13.1 and 3.12.8 were regularly scheduled
releases, but they do contain a few security fixes. That makes it a nice
time to release the security-fix-only versions too, so everything is as
secure as we can make it.
<https://discuss.python.org/t/python-3-13-1-3-12-
ow I perform multiple checks at each if or while statement, but is
there a IO async based method that breaks out of the loop when the event is
raised in the thread?
--
https://mail.python.org/mailman/listinfo/python-list
Alpha 2? But Alpha 1 only just came out!
https://www.python.org/downloads/release/python-3140a2/
This is an early developer preview of Python 3.14
Major new features of the 3.14 series, compared to 3.13:
Python 3.14 is still in development. This release, 3.14.0a2 is the second
of seven planned
*ANNOUNCING*
eGenix PyRun - One file Python Runtime
Version 2.6.0
Python runtime taking up just 4-6MB on disk
This announcement is also available on our web-site for online reading:
https://www.egenix.com/company/news/eGenix-PyRun-2.6.0-GA.html
On 11/8/2024 2:09 PM, dn via Python-list wrote:
On 8/11/24 14:40, Mild Shock via Python-list wrote:
Well you can use your Browser, since
JavaScript understand post and pre increment:
Question: are we talking Python or JavaScript?
So we have x ++ equals in Python:
Trying to find a word
On 8/11/24 14:40, Mild Shock via Python-list wrote:
Well you can use your Browser, since
JavaScript understand post and pre increment:
Question: are we talking Python or JavaScript?
So we have x ++ equals in Python:
Trying to find a word-for-word translation serves as badly in
computer
Well you can use your Browser, since
JavaScript understand post and pre increment:
> x = 5
5
> x ++
5
> x = 5
5
> ++ x
6
So we have x ++ equals in Python:
x + = 1
x - 1
And ++ x equals in Python:
x += 1
x
But I don't know how to combine an
assignment and a
On 05/11/2024 15.48, Raymond Boute wrote:
L.S.,
Python seem to suffer from a few poor design decisions regarding strings
and lists that affect the elegance of the language.
(a) An error-prone "feature" is returning -1 if a substring is not found
by "find", since -1 cur
Op 5/11/2024 om 15:48 schreef Raymond Boute via Python-list:
L.S.,
Python seem to suffer from a few poor design decisions regarding
strings and lists that affect the elegance of the language.
(a) An error-prone "feature" is returning -1 if a substring is not
found by "
On 6/11/24 10:08, Jason Friedman via Python-list wrote:
(a) An error-prone "feature" is returning -1 if a substring is not found
by "find", since -1 currently refers to the last item. An example:
>>> s = 'qwertyuiop'
>>> s[s.find('r
ld be
> len(s) - 1 (no laziness!).
>
I'm not sure if this answers your objection but the note in the
documentation (https://docs.python.org/3/library/stdtypes.html#str.find)
says:
The find() method should be used only if you need to know the position of
sub.
I think the use case above is a little bit different.
--
https://mail.python.org/mailman/listinfo/python-list
1 - 100 of 12662 matches
Mail list logo