On 2023-02-15 5:59 AM, Thomas Passin wrote:
>
> "Download the latest release from http://www.sqlite.org/download.html
> and manually copy sqlite3.dll into Python's DLLs subfolder."
>
I have done exactly this a number of times and it has worked for me.
Frank Millman
--
https://m
On 2/14/2023 9:29 PM, jose isaias cabrera wrote:
On Tue, Feb 14, 2023 at 8:55 PM Thomas Passin wrote:
As a point of reference, the Python installation I've got on my Windows
box (not a cygwin install) is
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934
64 bit (AMD64)] o
On Tue, Feb 14, 2023 at 8:55 PM Thomas Passin wrote:
>
> As a point of reference, the Python installation I've got on my Windows
> box (not a cygwin install) is
>
> Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934
> 64 bit (AMD64)] on win32
>
> and the sqlite_version is 3.39
On 2/14/2023 3:30 PM, jose isaias cabrera wrote:
Greetings.
I have tried both Cygwin and SQLite support, and I have received very
little ideas from them, so I am trying this to see if anyone has dealt
with such a problem before.
If I use Cygwin setup tool and install python39 and thus,
$ pytho
Chris,
That is a nice decorator solution with some extra features.
We don't know if the OP needed a cache that was more general purpose and
could be accessed from multiple points, and shared across multiple
functions.
-Original Message-
From: Python-list On
Behalf Of Chris Angelico
Se
Dino,
If your question is understood, you want to treat a dictionary as a sort of
queue with a maximum number of entries. And, you want to remove some kind of
least useful item to make room for any new one.
Most dictionaries now have entries in the order they were entered. There may
already be so
On 2/14/23 00:09, Stephen Tucker wrote:
> I have two questions:
> 1. Is there a straightforward explanation for this or is it a bug?
To you 1/3 may be an exact fraction, and the definition of raising a
number to that power means a cube root which also has an exact answer,
but to the computer, 1/3 i
On Wed, 15 Feb 2023 at 09:37, Dino wrote:
>
>
> Here's my problem today. I am using a dict() to implement a quick and
> dirty in-memory cache.
>
> I am stopping adding elements when I am reaching 1000 elements (totally
> arbitrary number), but I would like to have something slightly more
> sophist
On 2/10/2023 7:39 PM, Dino wrote:
- How would you structure the caching so that different caching
strategies are "pluggable"? change one line of code (or even a config
file) and a different caching strategy is used in the next run. Is this
the job for a design pattern such as factory or facad
Here's my problem today. I am using a dict() to implement a quick and
dirty in-memory cache.
I am stopping adding elements when I am reaching 1000 elements (totally
arbitrary number), but I would like to have something slightly more
sophisticated to free up space for newer and potentially m
Greetings.
I have tried both Cygwin and SQLite support, and I have received very
little ideas from them, so I am trying this to see if anyone has dealt
with such a problem before.
If I use Cygwin setup tool and install python39 and thus,
$ python
Python 3.9.10 (main, Jan 20 2022, 21:37:52) [GCC
Hello,
The installation file Python-3.8.10.exe (last version compatible with
Windows 7 (32 bit) ? )
does not automatically install pip on Windows 7.
Are there compatibility problems with Windows 7 ?
See attachment log file
Greetings
C.Sobotta
...
MSI (s) (3C:FC) [13:32:28:993]: Hello, I'm your
Use Python3
Use the decimal module: https://docs.python.org/3/library/decimal.html
From: Python-list on
behalf of Stephen Tucker
Date: Tuesday, February 14, 2023 at 2:11 AM
To: Python
Subject: Precision Tail-off?
*** Attention: This is an external email. Use caution responding, opening
att
On Tue, 14 Feb 2023 at 07:12, Stephen Tucker wrote:
>
> Hi,
>
> I have just produced the following log in IDLE (admittedly, in Python
> 2.7.10 and, yes I know that it has been superseded).
>
> It appears to show a precision tail-off as the supplied float gets bigger.
>
> I have two questions:
> 1.
14 matches
Mail list logo