ed. This does
not matter if case sensitivity is disabled. It matters if case
sensitivity is enabled! There is no reason MSBUild.exe does it. But it
is done for some paths (as someone else pointed out).
Regards,
--
Inada Naoki
--
Thomas
OpenPGP_signature
Description: OpenPGP di
Am Do., 15.Juni.2023 um 16:28:21 schrieb Eryk Sun:
On 6/15/23, Thomas Schweikle via Python-list wrote:
In this case: not sure what is going on.
Possibly you have a setting configured that affects the behavior of
Git via the MinGW-w64 runtime, such that calling mkdir() ends up
calling
On 6/16/2023 1:40 AM, dn via Python-list wrote:
Have you figured-out a use for the @enum.member and @enum.nonmember
decorators (new in Python 3.11)?
"What's New" says:
Added the member() and nonmember() decorators, to ensure the decorated
object is/is not converted to an enum member.
The PS
On 6/16/2023 7:37 PM, dn via Python-list wrote:
On 16/06/2023 23.47, Thomas Passin via Python-list wrote:
On 6/16/2023 1:40 AM, dn via Python-list wrote:
Have you figured-out a use for the @enum.member and @enum.nonmember
decorators (new in Python 3.11)?
mypy is having trouble with 3.11
On 6/19/2023 10:04 AM, Roel Schroeven via Python-list wrote:
Op 19/06/2023 om 11:44 schreef Peter Slížik:
Thank you, Roel. You've answered all my questions.
> [PEP 519]: ...as that can be represented with typing.Union[str,
bytes, os.PathLike] easily enough and the hope is users
> will slowly
e problems for Cython-generated code.)
- (Hey, fellow core developer, if a feature you find important is
missing from this list, let Thomas know .)
For more details on the changes to Python 3.12, see What's new in Python
3.12 <https://docs.python.org/dev/whatsnew/3.12.html>. The next p
On 6/23/2023 4:16 AM, Andreas Heckel via Python-list wrote:
Hi,
Apologies for potentially mis-using this thread. But I have been struggling
recently making exactly this leap from simple GUI examples to a more elaborate
MVVM concept. Mainly I have been struggling finding nice example python cod
On 6/26/2023 1:46 PM, small marcc via Python-list wrote:
pandas.ExcelWriter
import pandas
This code creates the path to the Excel file where the data will be written. It
checks if the file already exists, and if so, reads the existing data into a
DataFrame. Otherwise, it creates a new empty D
the future.)
- The internal representation of integers has changed in preparation for
performance enhancements. (This should not affect most users as it is an
internal detail, but it may cause problems for Cython-generated code.)
- (Hey, fellow core developer, if a feature you find im
hey will become syntax errors in the future.)
- The internal representation of integers has changed in preparation for
performance enhancements. (This should not affect most users as it is an
internal detail, but it may cause problems for Cython-generated code.)
(Hey, *fellow core develope
On 8/18/2023 5:14 AM, Rob Cliffe via Python-list wrote:
divmod(Decimal("-1"), 60)
It's not divmod per se, but the modulus operation:
from decimal import Decimal
D1 = Decimal(-1)
D1 % 60 # Decimal(-1)
fmod() performs the same way:
from math import fmod
fmod(-1, 60) # -1.0
From the Python d
On 9/1/2023 12:15 PM, Pierre Fortin via Python-list wrote:
Hi,
reversed() results are fine until iterated over, after which the
results are no longer available. This was discovered after using
something like this:
rev = reversed( sorted( list ) )
sr = sum( 1 for _ in rev )
# rev is now destroye
On 9/3/2023 12:10 PM, Jan Erik Moström via Python-list wrote:
I'm looking for some advice for how to write this in a clean way
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
future.)
- The internal representation of integers has changed in preparation for
performance enhancements. (This should not affect most users as it is an
internal detail, but it may cause problems for Cython-generated code.)
(Hey, *fellow core developer,* if a feature you find important
On 9/13/2023 11:39 PM, Jacob Keeler via Python-list wrote:
I downloaded Python 3.11.5, and there was nothing in the “Scripts” file,
and there was no Pip. I would like to know why.
What do you mean by "downloaded"? And are you talking about Windows?
Did you download the installer from python.or
On 9/13/2023 11:39 PM, Jacob Keeler via Python-list wrote:
I downloaded Python 3.11.5, and there was nothing in the “Scripts” file,
and there was no Pip. I would like to know why.
I just downloaded the 3.11.5 64-bit installer for Windows from
python.org and ran it. This was an upgrade since I
On 9/17/2023 11:48 AM, AVI GROSS via Python-list wrote:
Timing things that are fairly simple is hard enough to do repeatedly, but when
it involves access to slower media and especially to network connections to
servers, the number of things that can change are enormous. There are all kinds
of
On 9/17/2023 5:01 AM, 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 Postgresql than to Python, I hope this is
On 9/16/2023 7:57 PM, Rimu Atkinson via Python-list wrote:
It is nothing bad about using virtual environments but also not about
not using them. In my own work I haven't see a use case where I needed
them. And I expect that some day I'll encounter a use case for it. This
here is not about pro a
On 9/18/2023 2:56 PM, 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]". It's
pyproject.toml has a bug: A missing dependency "date
them more visible.
(They will become syntax errors in the future.)
- The internal representation of integers has changed in preparation for
performance enhancements. (This should not affect most users as it is an
internal detail, but it may cause problems for Cython-generated code.)
(H
On 9/25/2023 10:15 AM, Jonathan Gossage via Python-list wrote:
I am having a problem using generator expressions to supply the arguments
for a class instance initialization. The following example shows the
problem:
class test1(object):
def __init__(self, a, b):
self.name = a
On 9/27/2023 7:17 AM, 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?
C:\repository\pst-utils-pc-davinci-simulator>pip install
You are using pip version 7.0.1, however version 23.
On 9/27/2023 2:53 PM, Larry Martell via Python-list wrote:
I was under the impression that in a venv the python used would be in
the venv's bin dir. But in my venvs I see this in the bin dirs:
lrwxrwxrwx 1 larrymartell larrymartell7 Sep 27 11:21 python -> python3
lrwxrwxrwx 1 larrymartell la
On 9/28/2023 9:23 AM, Zuri Shaddai Kuchipudi via Python-list wrote:
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 con
mastodon.online/@brianbilston>.
<https://discuss.python.org/t/python-3-12-0-final-is-here/35186#we-hope-you-enjoy-the-new-releases-8>We
hope you enjoy the new releases!
Thanks to all of the many volunteers who help make Python Development and
these releases possible! Please consider supporting
*fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)
The next pre-release of Python 3.13 will be 3.13.0a2, currently scheduled
for 2023-11-21.
<https://discuss.python.org/t/python-3-13-0-alpha-1/36109#more-resources-2>More
resources
- On
On 10/19/2023 11:16 PM, Bongo Ferno via Python-list wrote:
On Thursday, October 19, 2023 at 11:26:52 PM UTC-3, [email protected] wrote:
There are many ways to make transient variables that disappear at some time
and do we need yet another? Yes, you can create one of those ways but what
is the
On 10/21/2023 11:32 AM, Larry Martell via Python-list wrote:
On Sat, Oct 21, 2023 at 9:49 AM Johannes Findeisen wrote:
On Sat, 21 Oct 2023 09:01:18 -0400
Larry Martell via Python-list wrote:
I have a python script, and from that I want to run another script in
a subprocess in a venv. What i
On 10/24/2023 8:22 AM, o1bigtenor via Python-list wrote:
Greetings
(Sorry for a nebulous subject but dunno how to have a short title for
a complex question.)
I have been using computers for a long time but am only beginning my
foray into the
galaxy of programming. Have done little to this point
On 10/24/2023 7:15 PM, o1bigtenor wrote:
On Tue, Oct 24, 2023 at 6:09 PM Thomas Passin via Python-list
wrote:
snip
By now you have read many responses that basically say that you cannot
prove that a given program has no errors, even apart from the hardware
question. Even if it could be
On 10/24/2023 7:37 PM, Grant Edwards via Python-list wrote:
On 2023-10-24, Thomas Passin via Python-list wrote:
Something less ambitious than a full proof of correctness of an
arbitrary program can sometimes be achieved. The programming team
for the Apollo moon mission developed a system
On 10/25/2023 9:21 AM, Thomas Passin wrote:
On 10/25/2023 8:50 AM, o1bigtenor via Python-list wrote:
On Wed, Oct 25, 2023 at 7:00 AM Dieter Maurer
wrote:
o1bigtenor wrote at 2023-10-25 06:44 -0500:
On Wed, Oct 25, 2023 at 6:24?AM Dieter Maurer
wrote:
...
There are different kinds of
On 10/25/2023 8:50 AM, o1bigtenor via Python-list wrote:
On Wed, Oct 25, 2023 at 7:00 AM Dieter Maurer wrote:
o1bigtenor wrote at 2023-10-25 06:44 -0500:
On Wed, Oct 25, 2023 at 6:24?AM Dieter Maurer wrote:
...
There are different kinds of errors.
Some can be avoided by using an integrated
On 10/25/2023 9:20 AM, Michael F. Stemper via Python-list wrote:
On 24/10/2023 17.50, Thomas Passin wrote:
The programming team for the Apollo moon mission developed a system
which,> if you would write your requirements in a certain way, could
generate correct
C code for them.
Since
On 10/25/2023 11:49 AM, rsutton via Python-list wrote:
On 10/25/2023 11:06 AM, Stefan Ram wrote:
[email protected] (Stefan Ram) writes:
outer quotation marks) prints some prominent exception types. After
manually removing those that do not seem to apply, I am left with:
"AssertionError",
On 10/26/2023 7:50 AM, o1bigtenor via Python-list wrote:
On Wed, Oct 25, 2023 at 9:10 AM Dieter Maurer wrote:
o1bigtenor wrote at 2023-10-25 08:29 -0500:
...
It would appear that something has changed.
Went to the Eclipse download page, downloaded and verified (using sha-512).
Expanded softw
On 10/26/2023 4:25 PM, o1bigtenor via Python-list wrote:
On Thu, Oct 26, 2023 at 11:43 AM Michael Torrie via Python-list
wrote:
On 10/26/23 06:34, o1bigtenor wrote:
Interesting - - - - ". . . see if it runs." - - - that's the issue!
When the code is accessing sensors there isn't an easy way
On 10/26/2023 6:36 PM, AVI GROSS via Python-list wrote:
I am not one for IDLE worship, Tenor. But if you have been getting a message
here, it is that there are an amazing number of programs that support your use
of python during the development phase and perhaps later. I actually often use
an
On 10/26/2023 10:52 PM, [email protected] wrote:
Thomas,
It looks like much of our discussion and attempts at help are not going to
be that helpful to Tenor as we may be way off bass about what he wants to do
and certainly RSTUDIO and quite a few other suggestions may not be available
in
On 11/3/2023 6:51 AM, Jon Ribbens via Python-list wrote:
On 2023-11-03, Chris Angelico wrote:
On Fri, 3 Nov 2023 at 12:21, AVI GROSS via Python-list
wrote:
My guess is that a first test of an email address might be to see if
a decent module of that kind fills out the object to your
satisfacti
On 11/6/2023 5:04 PM, Karsten Hilbert via Python-list wrote:
Am Mon, Nov 06, 2023 at 02:43:47PM -0700 schrieb Mats Wichmann via Python-list:
I had just hoped someone here might have a handy pointer for
how to deal with modules having to be installed from pip for
use with an apt-installed python
On 11/7/2023 2:48 AM, Christian Buhtz via Python-list wrote:
Hello Dieter,
thanks for your reply.
Am 06.11.2023 19:11 schrieb Dieter Maurer:
One option is a test suite (--> Python's "unittest" package)
with a sufficiently high coverage (near 100 %).
Yes, that is the primary goal. But it is f
On 11/5/2023 7:51 PM, Rob Cliffe via Python-list wrote:
Recently I switched from Python 3.8.3 to Python 3.11.4. A strange
problem appeared which was not there before:
I am using the win32clipboard backage (part of pywin32), and when I use
SetClipboardData() to write text which consists ENTIRELY
On 11/7/2023 12:47 PM, Egon Frerich via Python-list wrote:
I've no idea why this happens. In a module there are lists and definitions:
Felder = [
# Name lg1 lg2 typ Ausrichtung Holen Prüfen Prüfvorg
["Jahr", 4, 5, "u", "", "right", "center"],
["Monat", 2,
s. A simplified example:
>>> S1 = 'string 1'
>>> S2 = 'string 2'
>>> (fS1, fS2) = list(range(2))
>>> fS1
0
>>>
>>> fS2
1
On Nov 7, 2023, at 1:06 PM, Thomas Passin via Python-list
wrote:
On 11/7/2023 12:47 PM,
On 11/13/2023 11:44 PM, AVI GROSS via Python-list wrote:
Dom,
I hear you.
As you say, writing your own extension in something like C++ may not appeal to
you even if it is faster.
I was wondering if using a generator or something similar in R might make sense.
I mean what happens if you write
On 11/15/2023 2:25 AM, Grizzy Adams via Python-list wrote:
Hi & thanks for patience with what could be simple to you
Have this (from an online "classes" tutorial)
--- Start Code Snippit ---
students = []
grades = []
for s in geographyClass:
students.append(geographyStudent(s))
for s i
On 11/15/2023 2:04 PM, Grizzy Adams via Python-list wrote:
Wednesday, November 15, 2023 at 12:19, Pierre Fortin wrote:
Re: Newline (NuBe Question) (at least in part)
On Wed, 15 Nov 2023 16:51:09 - Grizzy Adams via Python-list wrote:
I don't give solutions; just a nudge... you appear not
On 11/16/2023 1:19 AM, Grizzy Adams via Python-list wrote:
Wednesday, November 15, 2023 at 15:54, Thomas Passin via Python-list wrote:
Re: Newline (NuBe Question) (at least in part)
On 11/15/2023 2:04 PM, Grizzy Adams via Python-list wrote:
Wednesday, November 15, 2023 at 12:19, Pierre
On 11/17/2023 6:17 AM, Peter J. Holzer via Python-list wrote:
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 sense to me - or
whoever l
On 11/17/2023 9:46 AM, Peter J. Holzer via Python-list wrote:
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
3.13.html#id9>.
(Some removals present in alpha 1 have been reverted in alpha 2, as the
removals were deemed too disruptive at this time.)
(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)
The next pre-release of Python 3.13 will be 3.
On 11/24/2023 4:49 PM, Rimu Atkinson via Python-list wrote:
I really can't think of a case
where the missing comma would make any sense at all.
That is pretty tricky, yes.
The comma means it's a tuple. Without the comma, it's just a string with
parenthesis around it, which is a string.
thankyou so much, that is the exact help I required to put me in the right
direction :D
--
https://mail.python.org/mailman/listinfo/python-list
I need a way of generating a random number but there is a catch:
I don't want to include certain numbers, is this possible?
random.randint(1,100) works as it will randomly pick numbers between 1 and 100
but say i don't want 48 to come out is there a way of doing this. It needs to
be an integer
On Wednesday, 23 November 2016 19:30:04 UTC, Thomas Nyberg wrote:
> On 11/23/2016 02:17 PM, Thomas Grops via Python-list wrote:
> > I need a way of generating a random number but there is a catch:
> >
> > I don't want to include certain numbers, is this possible?
&g
On Wednesday, 23 November 2016 19:30:21 UTC, Chris Kaynor wrote:
> On Wed, Nov 23, 2016 at 11:17 AM, Thomas Grops via Python-list
> wrote:
> > I need a way of generating a random number but there is a catch:
> >
> > I don't want to include cert
Thankyou for all your help I have managed to pick a way that works from your
suggestions :D
--
https://mail.python.org/mailman/listinfo/python-list
Hi I have created some code, which moves a rectangle around and when it hits
the edge it picks a random new direction. It does this by the count function
within my class. I am wanting to create a button to randomly change count but I
my class seems to be getting errors.
I also wanted to create
Wow thankyou that code is really good, I had no programming knowledge until 2
months ago, I enjoy your descriptions it is really helpful for me. I like to
understand what the code does before using it myself or a variant of it.
Will tweak bits tonight the project is in tomorrow. This code is jus
Peter, in your code what does that self.root = root mean in the __init__
function of the class
--
https://mail.python.org/mailman/listinfo/python-list
Also I am struggling to understand:
def move_tank(self, dx, dy):
self.x += dx
self.y += dy
self.canvas.move(self.id, dx, dy)
Where does the dx and dy values get input?
--
https://mail.python.org/mailman/listinfo/python-list
On 12/5/2023 11:50 AM, MRAB via Python-list wrote:
On 2023-12-05 14:37, Chris Green via Python-list wrote:
Is there a neat, pythonic way to store values which are 'sometimes'
changed?
My particular case at the moment is calibration values for ADC inputs
which are set by running a calibration pr
On 12/6/2023 6:35 AM, Barry Scott via Python-list wrote:
On 6 Dec 2023, at 09:32, Chris Green via Python-list
wrote:
My requirement is *slightly* more complex than just key value pairs,
it has one level of hierarchy, e.g.:-
KEY1:
a: v1
c: v3
d: v4
KEY2:
a: v
On 12/6/2023 1:12 PM, MRAB via Python-list wrote:
On 2023-12-06 12:23, Thomas Passin via Python-list wrote:
On 12/6/2023 6:35 AM, Barry Scott via Python-list wrote:
On 6 Dec 2023, at 09:32, Chris Green via Python-list
wrote:
My requirement is *slightly* more complex than just key value
you-enjoy-the-new-releases-7>We
hope you enjoy the new releases!
Thanks to all of the many volunteers who help make Python Development and
these releases possible! Please consider supporting our efforts by
volunteering yourself or through organization contributions to the Python
Software Foundation <https://www.python.org/psf-landing/>.
Your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa
--
Thomas Wouters
--
https://mail.python.org/mailman/listinfo/python-list
On 12/9/2023 9:42 PM, Steve GS via Python-list wrote:
If I enter a one-digit input or a three-digit number, the code works but if I
enter a two digit number, the if statement fails and the else condition
prevails.
tsReading = input(" Enter the " + Brand + " test strip reading: ")
On 2023-12-12 08:22, Steve GS via Python-list wrote:
> Maybe this already exists but
> I have never seen it in any
> editor that I have used.
>
> It would be nice to have a
> pull-down text box that lists
> all of the searches I have
> used during this session. It
> would make editing a lot
> easi
On 12/13/2023 11:17 AM, Mats Wichmann via Python-list wrote:
On 12/13/23 00:19, Frank Millman via Python-list wrote:
I have to add 'import configparser' at the top of each of these
modules in order to type hint the method.
This seems verbose. If it is the correct way of doing it I can live
w
On 12/22/2023 7:36 AM, Sibylle Koczian via Python-list wrote:
Hello,
I always install Python on Windows in the same manner:
- Python is not on the path,
- it is installed for all users,
- the Python Launcher is installed for all users,
- the file types .py, .pyw etc. are associated with Python.
On 12/22/2023 9:29 AM, Sibylle Koczian via Python-list wrote:
Am 22.12.2023 um 14:13 schrieb Barry:
On 22 Dec 2023, at 12:39, Sibylle Koczian via Python-list
wrote:
Hello,
I always install Python on Windows in the same manner:
- Python is not on the path,
- it is installed for all users
On 12/22/2023 7:19 PM, Barry wrote:
On 23 Dec 2023, at 00:15, Thomas Passin via Python-list
wrote:
In neither case is the shebang line used.
As i understand it, not in front of my windows box to check.
The handler for .py file extension is set to be the py.exe
It is py.exe that
On 12/22/2023 7:27 PM, Michael Torrie via Python-list wrote:
On 12/22/23 07:02, Thomas Passin via Python-list wrote:
On my Windows 10 machine, Python scripts run without a shebang line.
Perhaps Windows 11 has added the ability to use one, but then you would
need to use the actual location of
On 12/29/2023 10:02 AM, Karsten Hilbert via Python-list wrote:
I agree that mypy's grasp of my intent from
queries:list[dict[str, str | list | dict[str, Any]]]=None,
into
"List[Dict[str, Union[str, List[Any], Dict[str, Any"
seems accurate. I just don't understand why list[
On 12/30/2023 10:08 AM, Karsten Hilbert via Python-list wrote:
Dear Thomas,
thanks for taking the time to look into my issue.
Maybe it helps if I explain what I want (sorry that my web mailer does not
respect
indentation, I will insert dots).
I want a function to run SQL queries
On 12/30/2023 10:08 AM, Karsten Hilbert via Python-list wrote:
Dear Thomas,
thanks for taking the time to look into my issue.
Maybe it helps if I explain what I want (sorry that my web mailer does not
respect
indentation, I will insert dots).
I want a function to run SQL queries
On 12/29/2023 10:02 AM, Karsten Hilbert via Python-list wrote:
Am Fri, Dec 29, 2023 at 07:49:17AM -0700 schrieb Mats Wichmann via Python-list:
I am not sure why mypy thinks this
gmPG2.py:554: error: Argument "queries" to "run_rw_queries" has incompatible type
"List[Dict[str, str]]"; expected
On 12/30/2023 9:14 AM, Thomas Passin via Python-list wrote:
On 12/29/2023 10:02 AM, Karsten Hilbert via Python-list wrote:
I agree that mypy's grasp of my intent from
queries:list[dict[str, str | list | dict[str, Any]]]=None,
into
"List[Dict[str, Union[str, List[Any], Dic
On 1/1/2024 6:02 AM, Sibylle Koczian via Python-list wrote:
Am 30.12.2023 um 04:04 schrieb Mike Dewhirst via Python-list:
I had assumed the OP had installed Python from the Microsoft shop and
that's where py.exe must have come from.
In fact I didn't say in my post that I always get Python
On 1/1/2024 8:19 AM, Thomas Passin via Python-list wrote:
On 1/1/2024 6:02 AM, Sibylle Koczian via Python-list wrote:
Am 30.12.2023 um 04:04 schrieb Mike Dewhirst via Python-list:
I had assumed the OP had installed Python from the Microsoft shop and
that's where py.exe must have come
On 1/1/2024 12:26 PM, Mats Wichmann via Python-list wrote:
On 1/1/24 07:11, Thomas Passin via Python-list wrote:
Here's how to find out what program Windows thinks it should use to
run a ".py" file. In a console:
C:\Users\tom>assoc .py
.py=Python.File
C:\Users\tom
On 1/2/2024 11:56 AM, Mats Wichmann via Python-list wrote:
On 1/1/24 12:53, Thomas Passin via Python-list wrote:
On Windows 10, a shebang line gets ignored in favor of Python 3.9.9
(if invoked by the script name alone) or Python 3.12.1 (if invoked by
the "py" launcher).
fwiw, yo
On 1/3/2024 11:17 PM, Thomas Passin wrote:
On 1/3/2024 8:00 PM, Alan Gauld via Python-list wrote:
On 03/01/2024 22:47, Guenther Sohler via Python-list wrote:
Hi,
In my cpython i have written quite some functions to modify "objects".
and their python syntax is e.g.\
translate(obj,
On 1/3/2024 8:00 PM, Alan Gauld via Python-list wrote:
On 03/01/2024 22:47, Guenther Sohler via Python-list wrote:
Hi,
In my cpython i have written quite some functions to modify "objects".
and their python syntax is e.g.\
translate(obj, vec). e.g whereas obj is ALWAYS first argument.
Howev
On 1/11/2024 1:27 PM, MRAB via Python-list wrote:
On 2024-01-11 18:08, Rich Shepard via Python-list wrote:
It's been several years since I've needed to write a python script so I'm
asking for advice to get me started with a brief script to separate names
and email addresses in one file into two
On 1/14/2024 7:48 AM, Sibylle Koczian via Python-list wrote:
Am 09.01.2024 um 12:36 schrieb Barry Scott via Python-list:
On 7 Jan 2024, at 15:09, Sibylle Koczian via Python-list
wrote:
Oh, and the two Windows and Python versions are on two different
computers.
Will remove the "/env" fro
On 1/14/2024 8:54 AM, Thomas Passin via Python-list wrote:
On 1/14/2024 7:48 AM, Sibylle Koczian via Python-list wrote:
Am 09.01.2024 um 12:36 schrieb Barry Scott via Python-list:
On 7 Jan 2024, at 15:09, Sibylle Koczian via Python-list
wrote:
Oh, and the two Windows and Python versions
On 1/15/2024 1:26 PM, Mats Wichmann via Python-list wrote:
On 1/15/24 09:44, Sibylle Koczian via Python-list wrote:
First and foremost I want to understand why I'm seeing this:
- Python scripts with "/usr/bin/env python3" as shebang line work as
expected on a computer with Windows 10 and Pyth
On 1/15/2024 6:27 PM, Greg Ewing via Python-list wrote:
On 16/01/24 11:55 am, Mats Wichmann wrote:
Windows natively has something called python.exe and python3.exe which
is interfering here
I'm wondering whether py.exe should be taught to recognise these stubs
and ignore them. This sounds like
On 1/15/2024 9:47 PM, Akkana Peck via Python-list wrote:
I wrote:
Also be warned that some modules (particularly if they're based on libraries
not written in Python) might not garbage collect, so you may need to use other
methods of cleaning up after those objects.
Chris Angelico writes:
Go
On 1/15/2024 7:24 PM, Thomas Passin wrote:
On 1/15/2024 6:27 PM, Greg Ewing via Python-list wrote:
On 16/01/24 11:55 am, Mats Wichmann wrote:
Windows natively has something called python.exe and python3.exe
which is interfering here
I'm wondering whether py.exe should be taught to reco
On 1/16/2024 4:17 AM, Barry wrote:
On 16 Jan 2024, at 03:49, Thomas Passin via Python-list
wrote:
This kind of thing can happen with PyQt, also. There are ways to minimize it
but I don't know if you can ever be sure all Qt C++ objects will get deleted.
It depends on the type of o
//docs.python.org/dev/whatsnew/3.13.html#id10>
and deprecations <https://docs.python.org/dev/whatsnew/3.13.html#id9>.
(Some removals present in alpha 1 have been reverted in alpha 2, as the
removals were deemed too disruptive at this time.)
(Hey, *fellow core developer,* if a feature yo
On 1/21/2024 7:37 AM, marc nicole via Python-list wrote:
Hello,
I have an initial dataframe with a random list of target cells (each cell
being identified with a couple (x,y)).
I want to yield four different dataframes each containing the value of one
of the contour (surrounding) cells of each s
r_cells = select_contours(target_cells)
print(contour_cells)
target_cells_with_contour = apply_contours(target_cells, contour_cells)
datasets = create_possible_datasets(zipf_dataset,
target_cells_with_contour)
print(datasets)
main()
Le dim. 21 janv. 2024 à 16:33, Thomas Passin via P
asic usage. Someone else will probably pitch in.
Thanks.
Le dim. 21 janv. 2024 à 18:28, Thomas Passin via Python-list
mailto:[email protected]>> a écrit :
On 1/21/2024 11:54 AM, marc nicole wrote:
> Thanks for the reply,
>
> I think using a Pandas (o
On 1/29/2024 11:15 AM, Rich Shepard via Python-list wrote:
For my use 1) the salutation and email address (always with an '@') are
sequential and 2) I'm developing the script to extract both from the same
file.
I've looked at my Python books "Python Crash Course," "Effective Python,"
and "Pytho
On 1/30/2024 8:37 AM, Rich Shepard via Python-list wrote:
On Mon, 29 Jan 2024, Thomas Passin via Python-list wrote:
If you aren't going to use one or another existing template system,
perhaps the easiest is to use unique strings in the message file. For
example:
Dear __##so-a
On 1/30/2024 12:21 PM, Rich Shepard via Python-list wrote:
On Tue, 30 Jan 2024, Thomas Passin via Python-list wrote:
Fine, my toy example will still be applicable. But, you know, you haven't
told us enough to give you help. Do you want to replace text from values
in a file? That's be
3601 - 3700 of 3814 matches
Mail list logo