Yup.
Also checked out beeware - which also offers cross-platform compilation
of same code - but, one minor issue there first time tried it out was
working with additional/external modules, and, packaging resources.
Plus, while it includes it's own form of LBC GUI interface - toga - the
On 2023-11-14 23:14, Mike Dewhirst via Python-list wrote:
I'd like to improve the code below, which works. It feels clunky to me.
I need to clean up user-uploaded files the size of which I don't know in
advance.
After cleaning they might be as big as 1Mb but that would be super rare.
Perhaps
On 2023-11-14 00:11:30 +0200, Dom Grigonis via Python-list wrote:
> Benchmarks:
> test1 = [False] * 100 + [True] * 2
> test2 = [True] * 100 + [False] * 2
>
> TIMER.repeat([
> lambda: xor(test1), # 0.0168
> lambda: xor(test2), # 0.0172
> lambda: xor_ss(test1), # 0.1392
>
I'd like to improve the code below, which works. It feels clunky to me.
I need to clean up user-uploaded files the size of which I don't know in
advance.
After cleaning they might be as big as 1Mb but that would be super rare.
Perhaps only for testing.
I'm extracting CAS numbers and here
On 15/11/2023 10:25 am, MRAB via Python-list wrote:
On 2023-11-14 23:14, Mike Dewhirst via Python-list wrote:
I'd like to improve the code below, which works. It feels clunky to me.
I need to clean up user-uploaded files the size of which I don't know in
advance.
After cleaning they might be
On 2023-11-15 03:41, Mike Dewhirst via Python-list wrote:
On 15/11/2023 10:25 am, MRAB via Python-list wrote:
On 2023-11-14 23:14, Mike Dewhirst via Python-list wrote:
I'd like to improve the code below, which works. It feels clunky to me.
I need to clean up user-uploaded files the size of
Hi & thanks for patience with what could be simple to you
Have this (from an online "classes" tutorial)
--- Start Code Snippit ---
students = []
grades = []
for s in geographyClass:
students.append(geographyStudent(s))
for s in students:
grades.append(s.school)