Am Wed, Oct 08, 2025 at 10:51:42AM +0200 schrieb Jean-François Bachelet via
Python-list:
> at least a mailing list is way more frugal. and internet friendly.
And above all, PUSH rather than PULL.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.
figuration files in the iterable will be read. A single
filename may also be given.
Return list of successfully read files.
So, the very fact that it does not return any output AND
returns an empty list is the (intended) way of knowing the
error state.
Karsten
--
GPG 40BE 5B
y,
http, as in a centralized configuration repository.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
Am Tue, Oct 08, 2024 at 04:59:48PM -0400 schrieb Alan Bawden via Python-list:
> Karsten Hilbert writes:
>
>Python 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] on linux
>Type "help", "copyright", "credits" or "license
n, Aug 26 2024, 07:20:54) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> tex = '\sout{'
>>> tex
'\\sout{'
>>>
Am I missi
t re.search("\sout\{", line):
> if not re.search("\\sout{", line):
> if not re.search("\\sout\{", line):
unwanted_tex = '\sout{'
if unwanted_tex not in line: do_something_with_libreoffice()
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
Am Sun, Oct 06, 2024 at 12:21:09AM +0200 schrieb Karsten Hilbert via
Python-list:
> Am Sat, Oct 05, 2024 at 10:27:33PM +0200 schrieb Ulrich Goebel via
> Python-list:
>
> > Debian (or even Python3 itself) doesn't allow to pip install required
> > packages system wide
if that means installing every
application into its own *system-wide* venv) - do let me
know.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
;re saying it isn't automatic after all,
No again, such shenanigans only start to happen when pooling
is brought into the equation.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
return to the pool ?
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
ut that's true only when writable connections are
being pooled, which should be avoidable in many cases.
Any pool worth its salt should rollback any potentially
pending transactions of a connection when it is given back
that pooled connection. Unless explicitely told not to.
Karsten
--
GPG 40
from a much larger codebase.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
caught and logged.
I am open to suggestions.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
e
> important that it does the right thing.
> If it is convenient (it may not be) to put the whole thing in a function, you
> may feel
> that the follwing is less ugly:
The whole thing does reside inside a function but the exit-early pattern
> try:
> d
Am Sun, Sep 08, 2024 at 12:48:50PM +1200 schrieb Greg Ewing via Python-list:
> On 8/09/24 9:20 am, Karsten Hilbert wrote:
> > try:
> > do something
> > except:
> > log something
> > finally:
> > .commit(
Am Sun, Sep 08, 2024 at 12:48:50PM +1200 schrieb Greg Ewing via Python-list:
> On 8/09/24 9:20 am, Karsten Hilbert wrote:
> > try:
> > do something
> > except:
> > log something
> > finally:
> > .commit(
something
Boring and repetitive and safe(r):
try:
do something
except:
log something
try:
.commit()
except:
log something
I eventually opted for the last version, except for factoring
out the second try: exc
gmLog2.log_stack_trace()
__safely_close_cursor_and_rollback_close_conn (
curs_close,
tx_rollback,
conn_close
)
raise
if get_col_idx:
col_idx = get_col_indices(curs)
curs_close()
tx_commit()
conn_close()
return (data, col_idx)
#
Best,
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
about the SQL itself
succeeded but then the COMMIT failed due to serialization. I
was wondering about where to best place any needed
conn.commit(). My knee-jerk reaction was to then put it last
in the try: block...
All this is probably more related to Python than to PostgreSQL.
Thanks,
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
nd, yes, I
can safely inhibit propagation^1
finally:
conn.close()# which should .rollback()
automagically in case we had not reached to .commit()
?
Thanks for insights,
Karsten
#---
^1:
This particul
talling using pip.
> You must use a venv to pip install packages from pypi now.
Which makes one wonder how one is supposed to package Python
applications requiring modules not yet packaged by Debian.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
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. :-)
Certainly. But it seems you
> > Why not foxus on just the part you think you are better off using python,
> > namely personalization ?
> >
> > Create personalized files and send them with your trusted mailx solution ?
>
> Karsten,
>
> Too much time. And while mailx accepts the '-a
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
Am Sat, Jan 13, 2024 at 09:20:00PM +0100 schrieb Karsten Hilbert via
Python-list:
> > I was wondering if
> > your type hint for queries shouldn't be the following.
> >
> > queries:list[dict[str,str]|dict[str,list]|dict[str,dict[str, dict[str,
> > Ant]]]
Wait,
|dict[str,dict[str, dict[str, Ant]]]
>
> My impression at this moment is that you are write something like: dict[str,
> str | int] as
> as shorthand for dict[str, str] | dict[str, int].
I do.
> But those two are different types.
A-ha ! In what way ?
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
Thanks to all. I ended up using Sequence for the list part
and Mapping for the dict part, which does require "import
typing" which I would rather have avoided.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
Those are then used
in display rather than being fed to run_queries().
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
ll take it as an opportunity to refactor them.
So, at least that much good has come from the mypy hint ;-)
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
ueries)
and run mypy over that (at least inside my complex codebase) I will
get a type mismatch being hinted at.
So far I don't grasp at which point my reasoning above is faulty.
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
in either str
or int
and have type checking pass either input as valid" -- yet mypy doesn't seem
to share that idea.
Or else there's something I haven't wrapped my head around yet. But what ?
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
OR
list[dict[str, str]]
the last of which should provide coverage of
[{'some key': 'some value'}]
> Can you use a TypeGuard here?
Not from what I understand about them...
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
retty good recreation of your psuedo-code description.
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[dict[str,
str]] should not pass that construct.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
Am Fri, Dec 29, 2023 at 01:15:29PM +0100 schrieb Karsten Hilbert 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
> "
and values of
str OR
list of anything OR
dict with
keys of str
and values of anything
I'd have thunk list[dict[str,str]] matches that ?
This is on Python 3.11.
u would need to come up with
> an APT-based installer that doesn't do that.
>
> Obviously it's not unthinkable;
Certainly not, it's just that I had hoped someone goes: look here
and all of this ...
> it is just one more thing to figure out.
... has been thought through before.
Thanks,
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
osts I gather the answer to my question is
"simply": unpackaged-but-needed modules need to be packaged.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
sed application.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
to the venv suggested above.
When they are apt-gettable no venv is needed in the first
place. One would just install the application script like any
other binary, and which loads apt-installed modules just so.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
ian does just fine in resolving dependencies it knows
about within its .deb package universe. The problem arises
when there's unpackaged modules required. The only answer
seems to be to package such modules oneself.
If that's been conquered a venv isn't even needed anymore.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
g nice and well, but:
How does one "fill" that venv with packages from pip during
apt-get install python3-app-of-interest
?
Is the suggested way really to pip-install into this venv
during apt-get install ?
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
Am Fri, Nov 03, 2023 at 05:26:06PM +0100 schrieb Dieter Maurer:
> Karsten Hilbert wrote at 2023-11-3 14:47 +0100:
> > ...
> >> Are they not available in your system's package manager?
> >
> >... this clearly often answers to "no" for applications of
&
apt
- needs some packages only available via pip
- needs some packages newer than what is available via apt
?
Thanks,
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
y not available in your system's package manager?
... this clearly often answers to "no" for applications of
any complexity.
Is there a suggested proper path to deal with that (Debian is
of interest to me here) ?
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
> > >>> True
> >
> > and then changing that to
> >
> > >>> try: self.initialized:bool
>
> But that's not equivalent code.
I learned as much (RHS vs LHS).
But it did not _intuitively_ resonate with the sentiment
"type annotation does not change the running of code".
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
ttributeError: print('first instantiation'); self.initialized = True
and then changing that to
>>> try: self.initialized:bool
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
(valid) code ...
In Python a distinction can be made between "runnable" and "valid" :-D
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
class Something( Singleton ):
Could have been but the legacy codebase came with Borg ...
> - from there, plenty of 'templates' exist for Singletons,
... which was taken from the Web ages ago.
> - this article (https://python-patterns.guide/gang-of-four/singleton/)
Reading.
K
intent: a class where each instance is aware of every other
> instance - yet
> the word "Singleton" implies there's only one (cf a dict full of ...)?
The latter.
Regards,
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
the illegal, I suppose, as the self-
introspection capabilities of the language are being
leveraged to achieve a legal purpose.
Which seems akin constructs for generating compatibility
between versions.
It seems the answer is being pointed to in Matts response.
It just mightily surprised me.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
ailingSingleton' object has no attribute
'special_value'
Where's the error in my thinking (or code) ?
Thanks,
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
Am Sat, Sep 16, 2023 at 02:17:19PM +1200 schrieb Rimu Atkinson via Python-list:
> Everyone uses virtual environments.
Umm, like, no.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
I builders back around
> v2.6 and came away less than enthused. Things may have
> improved since then but I've seen no real evidence of
> that.
Is this available anywhere ?
What GUI builders do (for me) is to make creating the GUI in a WYSIWYM way.
Like LyX for LaTeX.
Karsten
--
ht
s to be *useful* more needs need to be explained. Until then - YAGNI.
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
> > I've never tried Black or any other code formatter, but I'm sure we
> > wouldn't get on.
>
> Does this suggest, that because Black doesn't respect other people's
> opinions and feelings, that it wouldn't meet the PSF's Code of Condu
and sounded a bit like a cold-hearted
> (or warm-hearted) Nazi officer / scientist.
Now, I have a lot of sympathy -- not least from a
professional point of view -- and see quite some leeway for
people acting neuro-atypically, but the last line of the
above really isn't necessary to be
Am Wed, Feb 08, 2023 at 12:20:48PM +0100 schrieb Karsten Hilbert:
> I have a pylint scoping (or how-to) question.
...
> Objective:
>
> to disable all pylint errors/warnings starting from a
> particular source line until EOF (that part contains
> to-be-run-manually scratch/test
ing ?
How should I properly go about my objective (apart from
fixing my code, of course :-D ) ?
Thanks for insights,
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
be passed back.
>
> Having had the idea described above, I am considering using it again to
> save all the parameter-and-results passing.
>
> I see nothing wrong with doing that, but I may well be missing something!
Maybe pass and return a class ? Maybe even a data class ?
Karst
Am Mon, Nov 14, 2022 at 02:13:34AM + schrieb MRAB:
> But if it's an expression where it's expecting a statement and it's not a
> call, then
> it's probably a bug.
That "probably" makes it suitable for a linter, as was pointed out.
Karsten
--
GPG 4
uot;mailcap" ?
Put another way: what is the suggested way of replacing that
module in existing code ? The use case is "find the viewer
for any kind of file (by mimetype), as long as the system
knows".
Thanks,
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
gh, and
> the names
> are clear enough, sure, go ahead and rely on the type annotations. The most
> important
> thing is that readers can understand what the arguments and returns are
> intended to be,
> so some flexibility makes sense.
+1
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
clearFirst=True) -> None:
and use RETURNS (or Returns:) only when what is returned
warrants further explanation (say, as to what is returned
when).
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
, etc.
http://literateprogramming.com/
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
or( "Can't open disk" )
return what_needs_to_be_returned
do_lots_of_things_with(disk)
The latter version may need some code reorganization, though.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
g after the first
> syntax error.
A-ha, so you further defined your context.
Under which I can agree to the objective :-)
Best,
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
hat sorts of errors you are
looking for and what margin of error or leeway for false
positives you want to allow.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
But, what's done is done.
Or, "eventually". Sadly, "finally" is already taken, and with
slightly different semantics...
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
till have it on 29 February?
Nope because that's *after* the 5 years (they end Feb 28).
If it originates on March 1st, however, you shouldn't dispose of it on Feb 29th
just yet.
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
Am Wed, Jun 08, 2022 at 11:09:05AM +0200 schrieb Dave:
> myString = 'Hello'
> myNewstring = myString.replace(myString,'e','a’)
That won't work (last quote) but apart from that:
myNewstring = myString.replace('e', 'a')
Karsten
--
GPG 40BE
] pulling in the programs
... and that ...
> and playing them for an audience.
??
IOW, during the "and" phase.
Best,
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
Am Sun, Apr 17, 2022 at 11:10:01AM +1200 schrieb Greg Ewing:
> On 17/04/22 9:17 am, Karsten Hilbert wrote:
> > Take this medication for 1 month !
> >
> >is quite likely to mean "take it for 28 days".
>
> Except when your doctor prescribes 90 days worth of
nt:
Take this medication for 1 month !
is quite likely to mean "take it for 28 days".
This standing order (Dauerauftrag) is to be run every
months from now on.
will mean "every 1st of the month, regardless of how many
days passed".
Karsten
GNUmed
--
GPG
> Is there any value whatsoever in a lie?
Do we _know_ it's a lie ?
Does a lie become a Falsed Truth once it becomes known ?
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
> Betreff: PYT - How can I subscribe to a topic in the mailing list?
Mailing lists don't subdivide by topic.
Your mailer may allow you to filter by Subject:.
> And h*ow do I set the topic in my messages?*
not applicable
The equivalent would be the Subject: header.
Karste
t;time.sleep" in there...
I doubt removing that will help much ;-)
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
> Or the internet acquires a new protocol that's designed
> for very-long-latency connections.
That's being worked on already
https://en.wikipedia.org/wiki/NASA_Deep_Space_Network
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
Am Thu, Dec 30, 2021 at 03:57:25PM -0800 schrieb [email protected]:
> > > Then what cases/scenarios can demonstrate the beauty of recursion?
> > >
> > Walking a tree.
>
> There are many type of trees. Do you mean all of them?
Palm trees don't lend themselves t
pe "help", "copyright", "credits" or "license" for more information.
>>> list('simplicity')
['s', 'i', 'm', 'p', 'l', 'i', 'c', 'i', 't', 'y']
>>>
Best,
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
> Karsten Hilbert writes:
> >ite is the -te form (in some uses like a gerundium) of aru
> >(to go, to walk)
>
> This form, "行って", is written with two "t", as "itte",
> in many transcriptions to convey the gemination (っ) of
> the &qu
ensical name might lead readers to
go beyond the name when trying to understand code, and would
prompt me to improve upon the name upon reading my own code (and
having acquired, likely, a better understanding of the concept
that's to be named).
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
Am Wed, Oct 27, 2021 at 12:41:56PM +0200 schrieb Karsten Hilbert:
> Am Tue, Oct 26, 2021 at 11:36:33PM + schrieb Stefan Ram:
>
> > xyzzy = lambda x: 2 * x
> >
> > . Sometimes, this can even lead to "naming paralysis", where
> > one thinks excessive
to un-go, revert-the-having-gone-ness, I genuinely wonder ...
On the other hand, Japanese is full of wondrous word-play at
levels undreamt of by us ASCIInarians.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
mediocre name. In
> the course of time, often a better name will come to one's mind.
In that situation, is it preferable to choose a nonsensical
name over a mediocre one ?
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
Am Wed, Oct 27, 2021 at 10:20:19AM +1100 schrieb Chris Angelico:
> Many operations in computing are fully reversible. After you do
> something, you can undo it. After you assign, you can unassign. And
> after you ite, you can unite!
I wonder whether Japanese programmers would agree.
well-liked activity,
neither here nor on the PostgreSQL lists.
Best,
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
ata
generator = data.generators[sys.argv[1]]
run_simulation(generator)
or some such ?
Your data "format" is ... Python code.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
nown mapping to string,
which makes it usable within JSON.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
description of what you want to achieve -- what
did you already try ?
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
The same as with speech recognition.
Research.
Karsten
> Gesendet: Freitag, 02. April 2021 um 10:40 Uhr
> Von: "ᗷᑌᑎᑎY"
> An: "Igor Korot"
> Cc: "[email protected]"
> Betreff: not able to download PyAudio
>
>Hello everyone
>
:
The algorithm uses a simple language-independent
[...] and context-naive, not locale related, [...]
definition of a word [...]
and life with that wart.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
erything right away. The
sort of response we would get from OP would tell us what sort
of help might be most suitable :-)
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
Am Sun, Feb 07, 2021 at 08:34:34PM +0100 schrieb Philipp Daher via Python-list:
> I recently coded this snippet of code:
> myString=„hello“
I doubt you have (coded *this* snippet of code) -- because
those quotes wouldn't work.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC8
n install more RAM.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
rly wish you that your hope becomes reality within your lifetime.
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
eout>
>
> Programmers don't guess...
I did not suggest guessing.
I suggested gathering scientific evidence by
running a controlled experiment.
Or should I say "Programmers don't trust..." ?
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
because the server is busy.
So what you are looking for is the form of a potential
"timeout exception" (say, exception name) ?
Provoke one and have a look.
Then catch what you saw.
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
at earlier mail ...
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
ng
> >
> > request.encode('utf-8')
> >
> > before sending the request but it has not lead to a different result.
You would have needed to do:
request = request.encode('utf-8')
because .encode() does not operate in-place.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
like ">From:" or
> ">>From:" depending on which mailbox format is being used. There may be
> a few other small details that needs to happen to.
I see, thanks.
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
1 - 100 of 251 matches
Mail list logo