It is part of a larger project aiming at processing data according to a
given algorithm
Do you have any comments or any enhancing recommendations on the code?
Thanks.
Le dim. 21 janv. 2024 à 18:28, Thomas Passin via Python-list <
python-list@python.org> a écrit :
> On 1/21/2024 11:54
://mail.python.org/mailman/listinfo/python-list
asic usage. Someone else will probably pitch in.
Thanks.
Le dim. 21 janv. 2024 à 18:28, Thomas Passin via Python-list
mailto:python-list@python.org>> a écrit :
On 1/21/2024 11:54 AM, marc nicole wrote:
> Thanks for the reply,
>
> I think using a Pandas (o
Am 16.01.2024 um 23:44 schrieb Barry via Python-list:
On 16 Jan 2024, at 17:11, Sibylle Koczian via Python-list
wrote:
while the new Windows 11 machine finds the Microsoft stub
You can turn off the stub in windows settings. The magic windows jargon is
“App Execution Aliases”. Once you
Am 17.01.2024 um 19:44 schrieb Mats Wichmann via Python-list:
Be interesting to know if your WIndows 10 has those files in place, and
it's just a missing path entry (a good thing, perhaps) that's causing it
not to be found there.
Yes. Python is not on the Path - by design.
whi
Registered at Amtsgericht Duesseldorf: HRB 46611
https://www.egenix.com/company/contact/
https://www.malemburg.com/
--
https://mail.python.org/mailman/listinfo/python-list
d was surprised to find that (as far as I can tell) there is no
pre-built solution to this in unittest or pytest. It feels like it should
be included in some standard library.
- Kerrick
--
https://mail.python.org/mailman/listinfo/python-list
Python ideas are discussed here these days: https://discuss.python.org/
Suggest you raise this there in the Ideas category.
Barry
> On 24 Jan 2024, at 17:11, Kerrick Staley via Python-list
> wrote:
>
> I think we should define a unittest.mock.NAN constant that can
f it helps at all, you can think of an async function as being
very similar to a generator, and "await" as being very similar to
"yield from". In the current implementation they're almost exactly
the same thing underneath.
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, 27 Jan 2024 at 11:01, Greg Ewing via Python-list
wrote:
>
> If it helps at all, you can think of an async function as being
> very similar to a generator, and "await" as being very similar to
> "yield from". In the current implementation they're almos
Special provisions are necessary to be able to wait for a value
(and meanwhile do other things).
`asyncio.sleep` has e.g. this provisions and a call of it is an "awaitable".
--
https://mail.python.org/mailman/listinfo/python-list
I do not understand:
- Which coroutine is suspended?
- Which object is the object mentioned?
- For what purpose is the value of the primary expression used?
- What does it mean to "suspend something on something"?
--
https://mail.python.org/mailman/listinfo/python-list
mary expression used?
- What does it mean to "suspend something on something"?
--
https://mail.python.org/mailman/listinfo/python-list
chy_name)
print used_node_hierarchy_name
hierarchies.append(list(zip(node_hierarchy_name, cells_arrays)))
--
https://mail.python.org/mailman/listinfo/python-list
syedhamoodahmed...@gmail.com
--
https://mail.python.org/mailman/listinfo/python-list
On 1/29/24 05:19, Syed Hamood via Python-list wrote:
Dear Python.org Support Team,
I hope this email finds you well. I am writing to seek assistance with an
issue I'm encountering while attempting to uninstall a corrupted Python
installation on my system.
Details of my system:
- Oper
On Fri, 12 Jan 2024, 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,
On Mon, 29 Jan 2024, dieter.mau...@online.de wrote:
Have you read "https://docs.python.org/3/library/io.html#module-io";?
Dieter,
No, I hadn't ... but I am reading it now.
Many thanks,
Rich
--
https://mail.python.org/mailman/listinfo/python-list
Rich Shepard wrote at 2024-1-29 08:15 -0800:
> ...
>If this explanation is not sufficiently clear I'll re-write it. :-)
Have you read "https://docs.python.org/3/library/io.html#module-io";?
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, 29 Jan 2024, Rich Shepard via Python-list wrote:
No, I hadn't ... but I am reading it now.
Perhaps I missed the answer to my question when reading the io module. It
explains how to open/write/read files of text and binary data, not passing
a variable's value from one file
On Mon, 29 Jan 2024, Rich Shepard via Python-list wrote:
I'll keep searching for a solution.
IIRC, someone here pointed me to <https://realpython.com/python-send-email/>
and I forgot about it ... until now.
Regards,
Rich
--
https://mail.python.org/mailman/listinfo/python-list
it and do your thing.
Without a bit more specific detail, you may not get more than a suggestion
as to how to read in files.
-Original Message-
From: Python-list On
Behalf Of Rich Shepard via Python-list
Sent: Monday, January 29, 2024 12:38 PM
To: python-list@python.org
Subject: RE
/
Avi,
I found several web pages describing how to use the python email library and
tools to send individual or multiple email messages. I'll learn how to do
this based on a couple of detailed examples.
Thanks,
Rich
--
https://mail.python.org/mailman/listinfo/python-list
On 2024-01-29, Rich Shepard via Python-list wrote:
> On Mon, 29 Jan 2024, Rich Shepard via Python-list wrote:
>
>> No, I hadn't ... but I am reading it now.
>
> Perhaps I missed the answer to my question when reading the io module. It
> explains how to open/write/rea
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,
info. If you have lots of
data, reading line after line may be less useful than just using a database
and a query.
One way to stop feeling frustrated is to stop reading the thread.
-Original Message-
From: Python-list On
Behalf Of Grant Edwards via Python-list
Sent: Monday, January 29, 2
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-and-so##__:
Please don't write this message off as
On Tue, Jan 30, 2024 at 1:13 AM AVI GROSS via Python-list
wrote:
>
> It can be quite frustrating figuring out what someone wants, Grant,
> especially when they just change it.
>
> It is worse when instead of starting a new thread with an appropriate
> subject line, it continue
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
ones. The only diddling with files
that is needed is once to read them into the structure (such as JSON) and
perhaps once to write it back out with changes.
Good luck, once you decide on a particular method and flesh that out.
--
https://mail.python.org/mailman/listinfo/python-list
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 been covered. Do you want to send the messages using
those
On Tue, 30 Jan 2024, AVI GROSS via Python-list wrote:
But seriously, the OP, AKA Rich, is making clear that he is making a tool
for his own use. It sounds like he wants to maintain a data repository of
his own with some info about his clients and then have the ability to
specify a name and pop
just the part you think you are better off using python, namely
personalization ?
Create personalized files and send them with your trusted mailx solution ?
That'll take out wrestling with smptlib et al.
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
option for attachments but
has none for individual salutations.
Regards,
Rich
--
https://mail.python.org/mailman/listinfo/python-list
x27; option for attachments but
> has none for individual salutations.
It doesn't need to. It just sends the (pre-personalized-by-Python) mail files.
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 30 Jan 2024, Karsten Hilbert wrote:
It doesn't need to. It just sends the (pre-personalized-by-Python) mail files.
Karsten,
In which case, I might as well have Python format and send the messages. :-)
Regards,
Rich
--
https://mail.python.org/mailman/listinfo/python-list
are wrestling with Python. Might as well reduce the
attack surface.
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
learning how to do things like this well in python can be time
well spent as long as you don't tackle too much at a time and get
overwhelmed.
-Original Message-
From: Python-list On
Behalf Of Rich Shepard via Python-list
Sent: Tuesday, January 30, 2024 12:53 PM
To: python-list@pytho
On 1/30/24 14:46, AVI GROSS via Python-list wrote:
Rich,
You may want to broaden your perspective a bit when people make suggestions.
Karsten did not spell out a full design and should not need to.
But consider this as a scenario.
You want to send (almost) the same message to one or more
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
necessarily one best answer. Of
course if this was a major product that would be heavily used, sure, you
could tweak and optimize. As it is, Rich is getting a chance to improve his
python skills no matter which way he goes.
-Original Message-
From: Python-list On
Behalf Of Thomas Passin via
t would be heavily used, sure, you
could tweak and optimize. As it is, Rich is getting a chance to improve his
python skills no matter which way he goes.
-Original Message-----
From: Python-list On
Behalf Of Thomas Passin via Python-list
Sent: Tuesday, January 30, 2024 10:37 PM
To: python-list@
On Tue, 30 Jan 2024, Thomas Passin via Python-list wrote:
If I had a script that's been working for 30 years, I'd probably just use
Python to do the personalizing and let the rest of the bash script do the
rest, like it always has. The Python program would pipe or send the
personalize
On 1/31/2024 9:05 AM, Rich Shepard via Python-list wrote:
On Tue, 30 Jan 2024, Thomas Passin via Python-list wrote:
If I had a script that's been working for 30 years, I'd probably just use
Python to do the personalizing and let the rest of the bash script do the
rest, like it alway
”, if you had looked that up.
>
><https://docs.python.org/3/glossary.html#term-awaitable>
To be fair, I've been using Python for well over quarter of a century,
and I never knew it had a glossary.
--
https://mail.python.org/mailman/listinfo/python-list
the effort as the standard
tools and tricks work and work fast enough.
Rich (AKA the OP) seems satisfied with having a solution. It may not be
ideal but for his needs, ...
-Original Message-
From: Python-list On
Behalf Of Thomas Passin via Python-list
Sent: Wednesday, January 31, 2024 10
and maybe garbage collection was not
automatic, ...
-Original Message-
From: Python-list On
Behalf Of Thomas Passin via Python-list
Sent: Wednesday, January 31, 2024 7:25 AM
To: python-list@python.org
Subject: Re: Extract lines from file, add to new files
On 1/30/2024 11:25 PM, avi.e.gr
a list of lines or a
data.frame and use some tools that search all of it and produce results.
I find I personally now often lean toward the latter approach but ages ago
when memory and CPU were considerations and maybe garbage collection was not
automatic, ...
-Original Message-----
From: Pytho
On 2/3/24 10:58, Thomas Passin via Python-list wrote:
In my view this whole thread became murky and complicated because the OP
did not write down the requirements for the program. Requirements are
needed to communicate with other people. An individual may not need to
actually write down the
ays!
I have participated, like you, in another forum designed for tutoring and I
think the rules and expectations there may be a bit different. Over here, it
is fairer to expect people to take a bit of time and ask clearer questions.
We live and we learn and then Alzheimer's ...
-Ori
On 2/3/2024 5:02 PM, dn via Python-list wrote:
Every trainer, in any field, has to deal with these problems - all the
time, and over-and-over.
On 4/02/24 06:58, Thomas Passin via Python-list wrote:
In my view this whole thread became murky and complicated because the
OP did not write down
that matter available.) I would not want to
program the DES encryption/decryption method in Pascal again! And these days,
it seems much better to just find a module or package that meets such needs.
Avi
-Original Message-
From: Python-list On
Behalf Of dn via Python-list
Sent: Sat
ves may also be available
<https://docs.python.org/3/library/select.html>.
--
https://mail.python.org/mailman/listinfo/python-list
select(2) has limitations. Better to use poll(2). Depending on *nix
variant, other more advanced alternatives may also be available
<https://docs.python.org/3/library/select.html>.
--
https://mail.python.org/mailman/listinfo/python-list
+0100, Mild Shock wrote:
... that works on windows ...
You lost me there.
--
https://mail.python.org/mailman/listinfo/python-list
at, 3 Feb 2024 00:45:18 +0100, Mild Shock wrote:
... that works on windows ...
You lost me there.
--
https://mail.python.org/mailman/listinfo/python-list
._oleobj_.Invoke(*(args + (value,) + defArgs))
pywintypes.com_error: (-2147352567, 'Er is een uitzondering opgetreden.', (0,
None, None, None, 0, -2147024882), None)
Process finished with exit code 1
Kind regards
Gelukt
--
https://mail.python.org/mailman/listinfo/python-list
inja2, Html, JavaScript, etc.
Links:
PyDev: http://pydev.org
PyDev Blog: http://pydev.blogspot.com
PyDev on VSCode: http://pydev.org/vscode
LiClipse: http://www.liclipse.com
PyVmMonitor - Python Profiler: http://www.pyvmmonitor.com/
Cheers,
Fabio Zadrozny
--
https://mail.python.org/mailman/listinfo/python-list
; or CPython itself
<https://github.com/sponsors/python>.
Thomas Wouters @thomas <https://discuss.python.org/u/thomas>
on behalf of your release team,
Ned Deily
Steve Dower
Pablo Galindo Salgado
Łukasz Langa
--
https://mail.python.org/mailman/listinfo/python-list
On 2/6/24 10:46 PM, Jim via Python-list wrote:
Friends,
Please forgive me if this is not the proper forum for dealing with an issue of mine, but
I am at a loss in finding a fix for a python problem in the program ClipGrab. The program
allows one to download videos or audios from YouTube and
generated (or could even
generate 'virtual' attributes).
--
Anthony Flury
email : anthony.fl...@btinternet.com
--
https://mail.python.org/mailman/listinfo/python-list
can define.
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, 9 Feb 2024 at 17:03, Cameron Simpson via Python-list
wrote:
>
> On 08Feb2024 12:21, tony.fl...@btinternet.com
> wrote:
> >I know that mappings by default support the ** operator, to unpack the
> >mapping into key word arguments.
> >
> >Has it been consid
_. Pretty easy.
- Alan
--
https://mail.python.org/mailman/listinfo/python-list
object that behaves like a proper mapping, you
could probably file a bug report for that.
--
https://mail.python.org/mailman/listinfo/python-list
Left Right via Python-list schreef op 9/02/2024 om 17:09:
In order for the "splat" operator to work, the type of the object must
populate slot `tp_as_mapping` with a struct of this type:
https://docs.python.org/3/c-api/typeobj.html#c.PyMappingMethods and
have some non-null implementati
are doing this through inheritance, this seems really
convoluted: why not just inherit from dict? -- less methods to
implement, less stuff to import etc.
--
https://mail.python.org/mailman/listinfo/python-list
s dict, int, str and
namedtuple.
Cheers,
Cameron Simpson
--
https://mail.python.org/mailman/listinfo/python-list
://mail.python.org/mailman/listinfo/python-list
eam,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa
--
Thomas Wouters
--
https://mail.python.org/mailman/listinfo/python-list
"Science Researcher" wrote in message
news:fh2dnwrca5oedvp4nz2dnzfqnpwdn...@earthlink.com...
This is a test message - just ignore it
That post worked as intended.
--
https://mail.python.org/mailman/listinfo/python-list
This is a test message - just ignore it
--
https://mail.python.org/mailman/listinfo/python-list
On Thursday 15 February 2024 at 21:16:22 UTC, E.D.G. wrote:
> Test - ignore February 15, 2024
>
> Test post to see if my Newsgroup post program is working.
Aim your test messages at alt.test, please.
--
https://mail.python.org/mailman/listinfo/python-list
to comp.lang.python traverse the gateway and show up on this list,
then alt.test won't help.
Skip
>
--
https://mail.python.org/mailman/listinfo/python-list
em for me was always Usenet posters who used
fake email addresses.)
Skip
--
https://mail.python.org/mailman/listinfo/python-list
Thursday, February 15, 2024 at 16:02, Tony Oliver via Python-list wrote:
Re: test-ignore (at least in part)
>On Thursday 15 February 2024 at 21:16:22 UTC, E.D.G. wrote:
>> Test - ignore February 15, 2024
>>
>> Test post to see if my Newsgroup post program is working.
>
Gates, no Windows and an Apache inside.
--
https://mail.python.org/mailman/listinfo/python-list
On 16Feb2024 20:32, MRAB wrote:
On 2024-02-16 20:07, Gabor Urban via Python-list wrote:
I need something about modules to be clarified.
Suppose I have written a module eg: ModuleA which imports an other
module, let us say the datetime.
If I import ModuleA in a script, will be datetime
g string or
other sort of cleverness?
--
Chris Green
·
--
https://mail.python.org/mailman/listinfo/python-list
e)}')
or whatever fits your code.
Cheers,
Cameron Simpson
--
https://mail.python.org/mailman/listinfo/python-list
)
I am quite puzzled as it looks as if this code will not work if the
super-class is 'object'. Any suggestions on how to proceed?
--
Jonathan Gossage
--
https://mail.python.org/mailman/listinfo/python-list
On 2/17/24 19:24, dn via Python-list wrote:
On 18/02/24 13:21, Jonathan Gossage wrote:
- perhaps someone knows a better/proper way to do this?
Suggested research: custom classes, ABCs, and meta-classes...
Cure the old "what do you want to accomplish" question. If it's to
On 2024-02-16, Chris Green via Python-list wrote:
> I'm looking for a simple way to make NaN values output as something
> like '-' or even just a space instead of the string 'nan'.
It would probably help if you told us how you're "outputting" them
On 2024-02-17, Cameron Simpson via Python-list wrote:
> On 16Feb2024 22:12, Chris Green wrote:
>>I'm looking for a simple way to make NaN values output as something
>>like '-' or even just a space instead of the string 'nan'.
>>[...]
>>
>&
rnet for valid
copies of Windows Live Mail if you are interested in the program.
Regards to all
--
https://mail.python.org/mailman/listinfo/python-list
On 2024-02-17, Cameron Simpson via Python-list wrote:
> On 16Feb2024 22:12, Chris Green wrote:
>>I'm looking for a simple way to make NaN values output as something
>>like '-' or even just a space instead of the string 'nan'. [...]
>>
>>
On 2024-02-17, Cameron Simpson via Python-list wrote:
> On 16Feb2024 22:12, Chris Green wrote:
>>I'm looking for a simple way to make NaN values output as something
>>like '-' or even just a space instead of the string 'nan'. [...]
>>
>>
On 2024-02-17, Cameron Simpson via Python-list wrote:
> On 16Feb2024 22:12, Chris Green wrote:
>>I'm looking for a simple way to make NaN values output as something
>>like '-' or even just a space instead of the string 'nan'. [...]
>>
>>
[Posts via slrn and my GMail account aren't showing up, so I guess I'll
try
subscribing from a different e-mail address.]
On 2024-02-17, Cameron Simpson via Python-list
wrote:
On 16Feb2024 22:12, Chris Green wrote:
I'm looking for a simple way to make NaN values output as
[I've been trying all afternoon to post via slrn, but nothing is
showing up on the list. Forgive me if multiple posts eventually show
up.]
On 2024-02-17, Cameron Simpson via Python-list wrote:
> On 16Feb2024 22:12, Chris Green wrote:
>>I'm looking for a simple way to make N
7; work. Is float.__format__ what's used by
f-strings, the % operator, etc.?
--
Grant
--
https://mail.python.org/mailman/listinfo/python-list
Today I noticed that nothing I've posted to python-list in past 3
weeks has shown up on the list. I don't know how to troubleshoot this
other than sending test messages. Obviously, if this shows up on the
list, then I've gotten it to work...
--
Grant
--
https://mail.python.org/m
Today I noticed that nothing I've posted to python-list in past 3
weeks has shown up on the list. I don't know how to troubleshoot this
other than sending test messages. Obviously, if this shows up on the
list, then I've gotten it to work...
--
Grant
--
https://mail.python.org/m
Today I noticed that nothing I've posted to python-list in past 3
weeks has shown up on the list. I don't know how to troubleshoot this
other than sending test messages. Obviously, if this shows up on the
list, then I'm making progress.
[message 4]
--
Grant
--
https://mail.pyt
Today I noticed that nothing I've posted to python-list in the past 3
weeks has shown up on the list. I don't know how to troubleshoot this
other than by sending test messages. Obviously, if this shows up on the
list, then I'm making progress...
[message 3]
--
Grant
--
https://
--
https://mail.python.org/mailman/listinfo/python-list
ot;Windows Live Mail" that might be copyrighted.
Most people would probably not want to have the Microsoft corporation
getting angry with them.
I also don't want my E-mail server personnel to become angry because
I stated that they were unable to answer some simple questions regarding
posting notes to Newsgroups.
Regards to all.
Science Researcher
--
https://mail.python.org/mailman/listinfo/python-list
neater way with any sort of formatting string or
other sort of cleverness?
Uhm, I cannot see how to avoid conditional code.
Somewhere, function, class, method, there should be
an "if isnan(x)".
You can hide that, but you cannot avoid, I suspect.
bye,
--
piergiorgio
--
https://mail.python.org/mailman/listinfo/python-list
ppears to do a fairly good job with that. But, you are
correct. People should be careful regarding what they download.
--
https://mail.python.org/mailman/listinfo/python-list
f.org
--
https://mail.python.org/mailman/listinfo/python-list
4201 - 4300 of 5792 matches
Mail list logo