Re: Sharing part of a function

2022-04-03 Thread Betty Hollinshead
"Memoising" is the answer -- see "Python Algorithms" by Magnus Lie Hetland. In the mean time, here a simplified version of "memoising" using a dict. This version handles pretty large fibonacci numbers! # fibonacci sequence # memoised - but using a simple dictionary (see Python Algorithms, p177)

Strange Change Of Module Name

2021-11-05 Thread Betty Hollinshead
python3-3.10.0-1.fc35.x86_64 alacarte-3.36.0-6.fc35.noarch Someone in the Python world changed the name of an import. Once upon a time the import (in alacarte) it looked like this: from collections import Sequence In a standard Fedora 35 install a few days ago, alacarte crashes.

Re: Tkinter widgets for desktop database application

2021-07-14 Thread Betty Hollinshead
On Tuesday, 13 July 2021 at 21:35:01 UTC+1, Rich Shepard wrote: > I'm writing a couple of database applications that use tkinter, and not a > web browser, for the UI and I'm still trying to determine the optimal way to > do this. > > Individual tk and ttk widgets (LineEntry, Combobox, etc.)

Re: GUI: I am also looking for a nudge into the best (GUI) direction.

2020-10-31 Thread Betty Hollinshead
On Saturday, 31 October 2020 at 08:36:48 UTC, Barry Scott wrote: > > On 29 Oct 2020, at 15:54, flaskee via Python-list > > wrote: > > > > Hello! > > > > I've been reading the GUI toolkit posts. > > > > snip > > > Barry Suggest you look at Glade and pure Python3 Works well on Linux (Fedora

Re: GUI: I am also looking for a nudge into the best (GUI) direction.

2020-10-31 Thread Betty Hollinshead
On Saturday, 31 October 2020 at 08:36:48 UTC, Barry Scott wrote: > > On 29 Oct 2020, at 15:54, flaskee via Python-list > > wrote: > > > > Hello! > > > > I've been reading the GUI toolkit posts. > > > > If anyone can give me a push in the right python direction on > > my needs, I'd be

Re: Video file to subtitles file

2020-08-31 Thread Betty Hollinshead
ffmpeg mentioned elsewhere is the goto toolkit for all things video. Subtitles, see: https://trac.ffmpeg.org/wiki/ExtractSubtitles B. -- https://mail.python.org/mailman/listinfo/python-list