ore clutter to the code.
However, with a view to asking forgiveness rather than
permission, is there some simple way just to assign the dictionary
elements which do in fact exist to self-variables?
Or should I be doing this completely differently?
Cheers,
Loris
--
This signature is currently under constuction.
--
https://mail.python.org/mailman/listinfo/python-list
On 3/15/24 03:30, Loris Bennett via Python-list wrote:
Hi,
I am initialising an object via the following:
self.source_name = config['source_name']
config.get('source_name', default_if_not_defined) is a common technique...
--
https://mail.python.org/mai
On 3/15/2024 5:30 AM, Loris Bennett via Python-list wrote:
Hi,
I am initialising an object via the following:
def __init__(self, config):
self.connection = None
self.source_name = config['source_name']
self.server_host = config[
On 2024-03-15, Thomas Passin via Python-list wrote:
> On 3/15/2024 5:30 AM, Loris Bennett via Python-list wrote:
>> Hi,
>>
>> I am initialising an object via the following:
>>
>> def __init__(self, config):
>>
>> self.connection = N
On 3/15/2024 3:09 PM, Grant Edwards via Python-list wrote:
On 2024-03-15, Thomas Passin via Python-list wrote:
On 3/15/2024 5:30 AM, Loris Bennett via Python-list wrote:
Hi,
I am initialising an object via the following:
def __init__(self, config):
self.connection = None
On 2024-03-15 at 15:48:17 -0400,
Thomas Passin via Python-list wrote:
> [...] And I suppose there is always the possibility that sometime in
> the future an "or" clause like that will be changed to return a
> Boolean, which one would expect anyway.
Not only is the curren
On 3/15/2024 5:33 PM, Dan Sommers via Python-list wrote:
On 2024-03-15 at 15:48:17 -0400,
Thomas Passin via Python-list wrote:
[...] And I suppose there is always the possibility that sometime in
the future an "or" clause like that will be changed to return a
Boolean, which one wo
of control.
-Original Message-----
From: Python-list On
Behalf Of Dan Sommers via Python-list
Sent: Friday, March 15, 2024 5:33 PM
To: [email protected]
Subject: Re: Configuring an object via a dictionary
On 2024-03-15 at 15:48:17 -0400,
Thomas Passin via Python-list wrote:
> [...] And I sup
Barry via Python-list schreef op 16/03/2024 om 9:15:
> On 15 Mar 2024, at 19:51, Thomas Passin via Python-list
wrote:
>
> I've always like writing using the "or" form and have never gotten bit
I, on the other hand, had to fix a production problem that using “or”
i
On 3/16/2024 8:12 AM, Roel Schroeven via Python-list wrote:
Barry via Python-list schreef op 16/03/2024 om 9:15:
> On 15 Mar 2024, at 19:51, Thomas Passin via Python-list
wrote:
> > I've always like writing using the "or" form and have never gotten
bit
I, on the
Will it be recorded?
Sent from my iPhone
> On Mar 17, 2024, at 1:47 AM, dn via Python-list
> wrote:
>
> The Auckland Branch of NZPUG meets this Wednesday, 20 March at 1830 NZDT
> (0530 UTC, midnight-ish Tue/Wed in American time-zones), for a virtual
> meeting.
>
Actually, I have a sleep disorder that requires me to keep a constant sleep
schedule. Thats why I asked.
Sent from my iPhone
> On Mar 17, 2024, at 3:36 PM, dn via Python-list
> wrote:
>
> On 17/03/24 23:40, Jim Schwartz wrote:
>> Will it be recorded?
>
> Bett
alpha, _, _ = dict_to_vars(**mydict)
The above is really just keeping alpha.
Of course if the possible keys are not known in advance, this does not work but
other languages that allow this may be better for your purpose.
-Original Message-----
From: Python-list On
Behalf Of Peter J. Holzer via Py
w.crazy-compilers.com | compilers which you thought are impossible |
--
https://mail.python.org/mailman/listinfo/python-list
_(self, config):
self.conf = Settings(**config)
regards, Anders
--
https://mail.python.org/mailman/listinfo/python-list
say, the clutter caused by the referencing is not
that significant.
Cheers,
Loris
--
This signature is currently under constuction.
--
https://mail.python.org/mailman/listinfo/python-list
iscuss.python.org/u/ambv>
on behalf of your friendly release team,
Ned Deily @nad <https://discuss.python.org/u/nad>
Steve Dower @steve.dower <https://discuss.python.org/u/steve.dower>
Pablo Galindo Salgado @pablogsal <https://discuss.python.org/u/pablogsal>
Łukasz Langa @ambv <https://discuss.python.org/u/ambv>
Thomas Wouters @thomas <https://discuss.python.org/u/thomas>
signature.asc
Description: Message signed with OpenPGP
--
https://mail.python.org/mailman/listinfo/python-list
ed the same as
the fields you want to be assigned to in your class
Loris Bennett via Python-list 于2024年3月19日周二
01:39写道:
> Tobiah writes:
>
> > I should mention that I wanted to answer your question,
> > but I wouldn't actually do this. I'd rather opt for
> > your se
it usually works. If you run out of memory, you
run a GC there and then. You don't have to wait for GCs to occur on
a time schedule.
Also, as a previous poster pointed out, GCs are typically scheduled
by number of allocations, not by time.
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, 20 Mar 2024 at 18:31, Greg Ewing via Python-list
wrote:
>
> On 20/03/24 4:14 pm, Lawrence D'Oliveiro wrote:
> > not to
> > mention the latency when there isn’t quite enough memory for an allocation
> > and you have to wait until the next GC run to proceed. Ru
Op 19/03/2024 om 0:44 schreef Gilmeh Serda via Python-list:
On Mon, 18 Mar 2024 10:09:27 +1300, dn wrote:
> YMMV!
> NB your corporate Style Guide may prefer 'the happy path'...
If you only want to check for None, this works too:
>>> name = None
>>> daf
On 2024-03-20 at 09:49:54 +0100,
Roel Schroeven via Python-list wrote:
> You haven't only checked for None! You have rejected *every* falsish value,
> even though they may very well be acceptable values.
OTOH, only you can answer these questions about your situations.
Every applica
thon 3.11.2
$ pip3 freeze
asgiref==3.7.2
blinker==1.7.0
click==8.1.7
Flask==3.0.2
itsdangerous==2.1.2
Jinja2==3.1.3
MarkupSafe==2.1.5
Werkzeug==3.0.1
```
Thanks for any help!
Cheers,
Thomas
--
https://mail.python.org/mailman/listinfo/python-list
Why does popping one of the keys cause the elements of the list to
revert back to their original class?
Cheers,
Loris
--
This signature is currently under constuction.
--
https://mail.python.org/mailman/listinfo/python-list
whl-package was installed. Why doesn't
the official distribution make pip ready to run by default? Thank you!
--
https://mail.python.org/mailman/listinfo/python-list
This is what you have popped.
>
>If I comment out the third line, which pops the unwanted key, I get
Then you do not change `event_dicts`.
You problem likely is:
`pop` does not return the `dict` after the removal of a key
but the removed value.
--
https://mail.python.org/mailman/listinfo/python-list
y this would be the
case in MS Windows.
On Thu, Mar 21, 2024 at 4:51 PM Johanne Fairchild via Python-list
wrote:
>
> Why is a whl-package called a ``wheel''? Is it just a pronunciation for
> the extension WHL or is it really a name?
>
> Also, it seems that when I install
think Windows has its own
package management for Python packages. I'd be totally surprised.
--
https://mail.python.org/mailman/listinfo/python-list
On 2024-03-21, MRAB via Python-list wrote:
> As it's recommended to use the Python Launcher py on Windows, I use
> that instead:
>
> py -m pip install something
>
> because it gives better support if you have multiple versions of
> Python installed.
I adopted that prac
On 3/21/2024 4:19 PM, Grant Edwards via Python-list wrote:
On 2024-03-21, MRAB via Python-list wrote:
As it's recommended to use the Python Launcher py on Windows, I use
that instead:
py -m pip install something
because it gives better support if you have multiple versions of
P
hp
Am 20.03.24 um 09:22 schrieb Thomas Nyberg via Python-list:
Hello,
I have a simple (and not working) example of what I'm trying to do. This is a
simplified version of what I'm trying to achieve (obviously the background
workers and finalizer functions will do more later):
On Fri, 22 Mar 2024 at 18:35, Lars Liedtke via Python-list
wrote:
>
> Hey,
>
> As far as I know (might be old news) flask does not support asyncio.
>
> You would have to use a different framework, like e.g. FastAPI or similar.
> Maybe someone has already written "flask
I feel like the easiest approach is to just throw away
threads entirely and learn how to do all I want fully in the brave new
async world, but I'm still curious why this is failing and how to make
this sort of setup work since it points to my not understanding the
basic implementation/
On 2024-03-20 10:22 AM, Thomas Nyberg via Python-list wrote:
Hello,
I have a simple (and not working) example of what I'm trying to do. This
is a simplified version of what I'm trying to achieve (obviously the
background workers and finalizer functions will do more later):
policy
https://www.solute.de/ger/datenschutz/grundsaetze-der-datenverarbeitung.php
Am 22.03.24 um 08:58 schrieb Chris Angelico via Python-list:
On Fri, 22 Mar 2024 at 18:35, Lars Liedtke via Python-list
<mailto:[email protected]> wrote:
Hey,
As far as I know (might be old news) flask does n
On 2024-03-22 12:09 PM, Frank Millman via Python-list wrote:
I am no expert. However, I do have something similar in my app, and it
works.
I do not use 'await future', I use 'asyncio.wait_for(future)'.
I tested it and it did not work.
I am not sure, but I think the
On 2024-03-22 1:23 PM, Frank Millman via Python-list wrote:
On 2024-03-22 12:09 PM, Frank Millman via Python-list wrote:
I am no expert. However, I do have something similar in my app, and it
works.
I do not use 'await future', I use 'asyncio.wait_for(future)'.
I test
ce_state']
(There's not really any point popping the value if you're not going to
do anything with it - just delete the key from the dictionary)
--
Mark.
--
https://mail.python.org/mailman/listinfo/python-list
> for e in event_dicts:
> del e['_sa_instance_state']
> (There's not really any point popping the value if you're not going to
> do anything with it - just delete the key from the dictionary)
Yes, I was mistakenly thinking that the popping the element would leave
me with the dict minus the popped key-value pair. Seem like there is no
such function.
Cheers,
Loris
--
This signature is currently under constuction.
--
https://mail.python.org/mailman/listinfo/python-list
Am Do., 21.März.2024 um 18:58:26 schrieb Johanne Fairchild via Python-list:
[email protected] (Stefan Ram) writes:
Johanne Fairchild wrote or quoted:
Why is a whl-package called a ``wheel''? Is it just a pronunciation for
the extension WHL or is it really a name?
P
On 2024-03-22, Loris Bennett via Python-list wrote:
> Yes, I was mistakenly thinking that the popping the element would
> leave me with the dict minus the popped key-value pair.
It does.
> Seem like there is no such function.
Yes, there is. You can do that with either pop or del:
es, you likely will use
`concurrent.Future` (not `asyncio.Future`).
You can use `asyncio.futures._chain_futures` to associate
an `asyncio.Future` with a `concurrent.Future`.
Then the fate (result or exception set) of one will be reflected in the other.
--
https://mail.python.org/mailman/listinfo/python-list
x27;third': 3}
Or do you want to be able to call it as in dict.remaining(key) by
subclassing your own variant of dict and adding a similar method?
--
https://mail.python.org/mailman/listinfo/python-list
result/exception for a future in a "foreign" thread
("foreign" here means one not associated with the future's loop).
An aternative to the solution sketched above is to set the result
indirectly via `loop.call_soon_threadsafe`. This way, the
result is set in the futures "native" thread.
--
https://mail.python.org/mailman/listinfo/python-list
On 3/22/24 11:45, Barry via Python-list wrote:
On 22 Mar 2024, at 15:25, Gilmeh Serda via Python-list
wrote:
Many if not most Linux distributions do not include pip by default.
Really? It came with Manjaro.
Debian and Ubuntu require you to install pip as a separate package.
Also puts
nderstanding the
basic implementation/semantics of async in python.
Thanks for any help!
/Thomas
On 3/22/24 08:27, Lars Liedtke via Python-list wrote:
Hey,
As far as I know (might be old news) flask does not support asyncio.
You would have to use a different framework, like e.g. FastAPI or
On 2024-03-22 12:08 PM, Thomas Nyberg via Python-list wrote:
Hi,
Yeah so flask does support async (when installed with `pip3 install
flask[async]), but you are making a good point that flask in this case
is a distraction. Here's an example using just the standard library that
exhibit
On 2024-03-23 3:25 PM, Frank Millman via Python-list wrote:
It is not pretty! call_soon_threadsafe() is a loop function, but the
loop is not accessible from a different thread. Therefore I include a
reference to the loop in the message passed to in_queue, which in turn
passes it to
d do what I wanted, although I have now decided I
want something else :-) Nevertheless it is good to know that 'del'
exists, so that I don't have to reinvent it.
Cheers,
Loris
--
This signature is currently under constuction.
--
https://mail.python.org/mailman/listinfo/python-list
Grant Edwards writes:
> On 2024-03-22, Loris Bennett via Python-list wrote:
>
>> Yes, I was mistakenly thinking that the popping the element would
>> leave me with the dict minus the popped key-value pair.
>
> It does.
Indeed, but I was thinking in the context of
On 2024-03-25, Loris Bennett wrote:
> "Michael F. Stemper" writes:
>
>> On 25/03/2024 01.56, Loris Bennett wrote:
>>> Grant Edwards writes:
>>>
>>>> On 2024-03-22, Loris Bennett via Python-list
>>>> wrote:
>>>
"Michael F. Stemper" writes:
> On 25/03/2024 01.56, Loris Bennett wrote:
>> Grant Edwards writes:
>>
>>> On 2024-03-22, Loris Bennett via Python-list wrote:
>>>
>>>> Yes, I was mistakenly thinking that the popping the element would
>
On 2024-03-25, Loris Bennett via Python-list wrote:
> Grant Edwards writes:
>
>> On 2024-03-22, Loris Bennett via Python-list wrote:
>>
>>> Yes, I was mistakenly thinking that the popping the element would
>>> leave me with the dict minus the popped key-v
ings using iteration.
But many simply do not work well in pipelined fashion and thus may need to be
embedded in a method of your own by subclassing dict or rolling your own.
-Original Message-
From: Loris Bennett
Sent: Monday, March 25, 2024 2:45 AM
To: [email protected]
Cc: p
New_dict = {key:value for key in dict if key != "whatever"}
Or variants on that. It builds a new dictionary, at nontrivial expense, as
compared to using del on an existing dictionary.
-Original Message-----
From: Python-list On
Behalf Of Loris Bennett via Python-list
Sent: Monday, March
Linux, it seems that linking to libpython3.so instead of
libpython3.11.so.1.0 does not have the same effect, and results in
many unresolved python symbols at link time
Is this functionality only available on Windows?
--
https://mail.python.org/mailman/listinfo/python-list
libpython.so, which could be pointing to any
version. I'll try that next
Le ven. 29 mars 2024 à 10:10, Barry a écrit :
>
>
>
> > On 28 Mar 2024, at 16:13, Olivier B. via Python-list
> > wrote:
> >
> > But on Linux, it seems that linking to libpython3.so instead of
without the -lpython and it should
just work.
Barry
>
> Le ven. 29 mars 2024 à 10:10, Barry a écrit :
>>
>>
>>
>>> On 28 Mar 2024, at 16:13, Olivier B. via Python-list
>>> wrote:
>>>
>>> But on Linux, it seems that linking to
On 30/03/24 7:21 pm, HenHanna wrote:
https://xkcd.com/1306/
what does SIGIL mean?
I think its' a Perl term, referring to the $/@/# symbols in front of
identifiers.
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
e in
Python, since decorators technically don't allow the programmer to do
something they couldn't before, but are now are used everywhere, a key
feature of many applications and modules.
Magical-ly, y'rs,
Skip
>
--
https://mail.python.org/mailman/listinfo/python-list
On 30/03/2024 07:04, Greg Ewing via Python-list wrote:
> On 30/03/24 7:21 pm, HenHanna wrote:
>> https://xkcd.com/1306/
>> what does SIGIL mean?
>
> I think its' a Perl term, referring to the $/@/# symbols in front of
> identifie
t(range(i)), "avg")
elapsed = time.time() - t
print(res)
print(elapsed)
--
https://mail.python.org/mailman/listinfo/python-list
?
Which tuple I should use to refer to the underlying list value as you
suggest?
Anything else is good in my code ?
Thanks
Le dim. 31 mars 2024 à 01:44, MRAB via Python-list
a écrit :
> On 2024-03-31 00:09, marc nicole via Python-list wrote:
> > I am creating a memoization example with
ywin32 has caused an issue?
Should I try installing python 3.12 version instead and see if it changes?
Also, if relevant, while running under latest up-to-date version of
windows 11 64 bit, have in any case enabled case-sensitivity on the
folder I store all my python code in, just in case.
TIA
--
Jacob Kruger
+2782 413 4791
"Resistance is futile!...Acceptance is versatile..."
--
https://mail.python.org/mailman/listinfo/python-list
On 3/30/24 10:31, MRAB via Python-list wrote:
On 2024-03-30 11:25, Skip Montanaro via Python-list wrote:
> https://xkcd.com/1306/
> what does SIGIL mean?
I think its' a Perl term, referring to the $/@/# symbols in front of
identifiers.
I wouldn't
the memorize function you make gets
relatively few requests that are identical, it may not be worthwhile.
-Original Message-
From: Python-list On
Behalf Of MRAB via Python-list
Sent: Sunday, March 31, 2024 3:24 PM
To: [email protected]
Subject: Re: Can you help me with this
as
convenient, and, still wondering what changed here.
Jacob Kruger
+2782 413 4791
"Resistance is futile!...Acceptance is versatile..."
On 2024/03/31 14:51, Barry wrote:
On 31 Mar 2024, at 13:24, Jacob Kruger via Python-list
wrote:
pkg_resources.DistributionNotFound: The
may be that it also uses `__all__` to determine
a module's public API. In that case, setting `__all__ = ["f"]` in `A`
should prevent it from offering `math` as a completion (nor any other
name that's not in the `__all__` list).
--
Mark.
--
https://mail.python.org/mailman/listinfo/python-list
have a package per version of Python. Maintenance-wise it's going to
be a lot easier.
On Fri, Mar 29, 2024 at 10:13 AM Barry via Python-list
wrote:
>
>
>
> > On 28 Mar 2024, at 16:13, Olivier B. via Python-list
> > wrote:
> >
> > But on Linux, it seems th
A seal; a signet.
A sign or an image considered magical.
A seal; a signature.
Source:
The American Heritage® Dictionary of the English Language,
5th Edition.
--
https://mail.python.org/mailman/listinfo/python-list
Do you know what you are?” “Confused?”
--
https://mail.python.org/mailman/listinfo/python-list
"math":
Code example:
from math import *
a = 2
b = 3
print( a * b )
I guess the operator "*" can be imported from any module... :-)
bye,
--
piergiorgio
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, Apr 1, 2024 at 1:26 PM Piergiorgio Sartor via Python-list
wrote:
>
> On 01/04/2024 10.40, Stefan Ram wrote:
> > Q: How can I multiply two variables in Python? I tried:
> >
> > a = 2
> > b = 3
> > print( ab )
> >
> > but it did no
On 2024-04-01 12:35, Joel Goldstick via Python-list wrote:
On Mon, Apr 1, 2024 at 1:26 PM Piergiorgio Sartor via Python-list
^^^
from math import *
a = 2
b = 3
print( a * b )
I guess the operator "*" can be imported from any module... :-)
No import is neces
Sartor via Python-list <
[email protected]> wrote:
> On 01/04/2024 10.40, Stefan Ram wrote:
> > Q: How can I multiply two variables in Python? I tried:
> >
> > a = 2
> > b = 3
> > print( ab )
> >
> > but it did not work.
> >
&g
My personal opinion about these "chatbots", is
that, while they might deliver clever solutions,
they are not explaining *why* these solutions
should be considered "clever".
Which is the most important thing (the solution
itself is _not_).
bye,
--
piergiorgio
--
https://mail.python.org/mailman/listinfo/python-list
On 4/2/2024 1:47 PM, Piergiorgio Sartor via Python-list wrote:
On 02/04/2024 19.18, Stefan Ram wrote:
Some people can't believe it when I say that chatbots improve
my programming productivity. So, here's a technique I learned
from a chatbot!
It is a structured "break&
#x27;e']) else None)
print(first_word_beginning_with_e( text ))
print(first_word_beginning_with_e( NorEaster ))
Result of running it on a version of python ay least 3.8 so it supports the
walrus operator:
eastern
None
-Original Message-----
From: Python-list On
Behalf Of Thomas Pass
Op 28/03/2024 om 17:45 schreef ast via Python-list:
Hello
Suppose I have these 3 strings:
s1 = "AZERTY"
s2 = "QSDFGH"
s3 = "WXCVBN"
and I need an itertor who delivers
A Q W Z S C E D C ...
I didn't found anything in itertools to do the job.
The
-----
From: Python-list On
Behalf Of Antoon Pardon via Python-list
Sent: Wednesday, April 3, 2024 5:11 AM
To: [email protected]
Subject: Re: A missing iterator on itertools module?
Op 28/03/2024 om 17:45 schreef ast via Python-list:
> Hello
>
> Suppose I have these 3 strings:
>
On 4/3/2024 1:27 AM, AVI GROSS via Python-list wrote:
I am a tad confused by a suggestion that any kind of GOTO variant is bad. The
suggestion runs counter to the reality that underneath it all, compiled
programs are chock full of GOTO variants even for simple things like IF-ELSE.
Consider
instead of one at a time and so on.
How many people ask how to TEST the code they get, especially from an
AI-like ...?
-Original Message-
From: Python-list On
Behalf Of Thomas Passin via Python-list
Sent: Wednesday, April 3, 2024 7:51 AM
To: [email protected]
Subject: Re: A
On 2024/04/02 17:11, Barry wrote:
On 1 Apr 2024, at 15:52, Jacob Kruger via Python-list
wrote:
Found many, many mentions of errors, with some of the same keywords, but, no
resolutions that match my exact issue at all.
Try asking the pyinstaller developers. I think there is a mailing list.
://mail.python.org/mailman/listinfo/python-list
On 4/3/24 07:15, WordWeaver Evangelist via Python-list wrote:
> Hello. I already subscribed to this list several days ago. In fact, I did it
two times, and
> I received the email with the confirmation link in it, which I clicked on and
was confirmed.
>
> Despite this fact, each tim
for taking the time to read this. Here is to hoping that my coding
genius is out there, ready and eager to come to my aid.
Thank you in advance.
Kind regads,
Bill Kochman
--
https://mail.python.org/mailman/listinfo/python-list
On 4/3/2024 3:06 PM, WordWeaver Evangelist via Python-list wrote:
Hello everyone! It has been a l-o-n-g time -- nine years in fact --since I last
participated on this mailing list.
[snip]
3. You are very familiar with the Jython 2 environment, which I am told is
based on Python 2 and NOT
t;Resistance is futile!...Acceptance is versatile..."
On 2024/04/02 17:11, Barry wrote:
On 1 Apr 2024, at 15:52, Jacob Kruger via Python-list
wrote:
Found many, many mentions of errors, with some of the same keywords, but, no
resolutions that match my exact issue at all.
Try as
Thomas Passin wrote:
On 4/2/2024 1:47 PM, Piergiorgio Sartor via Python-list wrote:
On 02/04/2024 19.18, Stefan Ram wrote:
Some people can't believe it when I say that chatbots improve
my programming productivity. So, here's a technique I learned
from a chatbot!
It is a
, ...
-Original Message-
From: Python-list On
Behalf Of Mark Bourne via Python-list
Sent: Thursday, April 4, 2024 3:04 PM
To: [email protected]
Subject: Re: A technique from a chatbot
Thomas Passin wrote:
> On 4/2/2024 1:47 PM, Piergiorgio Sartor via Python-list wrote:
>> On 0
On 4/4/2024 3:03 PM, Mark Bourne via Python-list wrote:
Thomas Passin wrote:
On 4/2/2024 1:47 PM, Piergiorgio Sartor via Python-list wrote:
On 02/04/2024 19.18, Stefan Ram wrote:
Some people can't believe it when I say that chatbots improve
my programming productivity. So, her
for it to be kept hanging around in memory.
Perhaps worse, imagine doing the search in parallel and as sone as it is found
anywhere, ...
-Original Message-
From: Python-list On
Behalf Of Mark Bourne via Python-list
Sent: Thursday, April 4, 2024 3:04 PM
To: [email protected]
Subj
time_using_next += timeit.default_timer() - start_time
if word_using_next != word_using_break:
raise Exception( 'word_using_next != word_using_break' )
print( f'{time_using_break = }' )
print( f'{time_using_next = }' )
print( f'{time_using_next / time_using_break = }' )
--
https://mail.python.org/mailman/listinfo/python-list
any suggestions on how to fix this?
Any help you can offer is greatly appreciated. Thank you for your time.
Hope to hear from you soon.
Shannon Makasale
--
https://mail.python.org/mailman/listinfo/python-list
On 4/5/2024 5:32 PM, shannon makasale via Python-list wrote:
Hi there,
My name is Shannon. I installed Python 3.12 on my laptop a couple months ago,
but realised my school requires me to use 3.11.1.
I uninstalled 3.12 and installed 3.11.1.
Unfortunately, I am unable to run python now. It
On 4/5/24 15:32, shannon makasale via Python-list wrote:
Hi there,
My name is Shannon. I installed Python 3.12 on my laptop a couple months ago,
but realised my school requires me to use 3.11.1.
they can suggest 3.11 and there might be a good reason for that, but you
should not worry about
re are two path related to the python, one
for python.exe, the other for \Lib\site-packages\paramiko
can you please provide advice on this issue?
BR
Ken
--
https://mail.python.org/mailman/listinfo/python-list
elongs
to another Python interpreter.
--
https://mail.python.org/mailman/listinfo/python-list
On 4/8/2024 2:01 PM, Dietmar Schwertberger via Python-list wrote:
To be sure, you can always go the the directory of the Python
interpreter and open a cmd window there.
(By entering 'cmd' into the explorer address bar.)
Then enter 'python.exe -mpip install paramiko'.
This
Thomas Passin writes:
> On 4/8/2024 2:01 PM, Dietmar Schwertberger via Python-list wrote:
>> To be sure, you can always go the the directory of the Python
>> interpreter and open a cmd window there.
>> (By entering 'cmd' into the explorer address bar.)
>>
4401 - 4500 of 5869 matches
Mail list logo