On 2024-06-08, Larry Martell via Python-list wrote:
> The original question struck me as homework or an interview question for a
> junior position. But having no clear requirements or specifications is good
> training for the real world where that is often the case. When you question
> that, you
provide such functionality.
-Original Message-
From: Python-list On
Behalf Of Larry Martell via Python-list
Sent: Saturday, June 8, 2024 11:54 AM
To: Mats Wichmann
Cc: python-list@python.org
Subject: Re: From JoyceUlysses.txt -- words occurring exactly once
On Sat, Jun 8, 2024 at 10
good thing but often a mess as you wrote the code to do
things in a specific way for a specific purpose ...
-Original Message-
From: Python-list On
Behalf Of Thomas Passin via Python-list
Sent: Saturday, June 8, 2024 1:10 PM
To: python-list@python.org
Subject: Re: From JoyceUlysses.tx
ython-list@python.org
Subject: Re: From JoyceUlysses.txt -- words occurring exactly once
On 6/8/2024 11:54 AM, Larry Martell via Python-list wrote:
> On Sat, Jun 8, 2024 at 10:39 AM Mats Wichmann via Python-list <
> python-list@python.org> wrote:
>
>> On 6/5/24 05:10, Thom
On 6/8/2024 11:54 AM, Larry Martell via Python-list wrote:
On Sat, Jun 8, 2024 at 10:39 AM Mats Wichmann via Python-list <
python-list@python.org> wrote:
On 6/5/24 05:10, Thomas Passin via Python-list wrote:
Of course, we see this lack of clarity all the time in questions to the
list. I ofte
On Sat, Jun 8, 2024 at 10:39 AM Mats Wichmann via Python-list <
python-list@python.org> wrote:
> On 6/5/24 05:10, Thomas Passin via Python-list wrote:
>
> > Of course, we see this lack of clarity all the time in questions to the
> > list. I often wonder how these askers can possibly come up with
On 6/5/24 05:10, Thomas Passin via Python-list wrote:
Of course, we see this lack of clarity all the time in questions to the
list. I often wonder how these askers can possibly come up with
acceptable code if they don't realize they don't truly know what it's
supposed to do.
Fortunately, ha
On 6/5/2024 12:33 AM, dn via Python-list wrote:
On 31/05/24 14:26, HenHanna via Python-list wrote:
On 5/30/2024 2:18 PM, dn wrote:
On 31/05/24 08:03, HenHanna via Python-list wrote:
Given a text file of a novel (JoyceUlysses.txt) ...
could someone give me a pretty fast (and simple) Python pr
On 2024-06-05, dn via Python-list wrote:
> If you/your teacher can't define a "word", the code, any code, will
> almost-certainly be wrong!
Back when I was a student...
When there was a homework/project assignemnt with a vague requirement
(and it wasn't practical to get the requirement refined
On 31/05/24 14:26, HenHanna via Python-list wrote:
On 5/30/2024 2:18 PM, dn wrote:
On 31/05/24 08:03, HenHanna via Python-list wrote:
Given a text file of a novel (JoyceUlysses.txt) ...
could someone give me a pretty fast (and simple) Python program
that'd give me a list of all words occurri
On Wed, 5 Jun 2024 at 02:49, Edward Teach via Python-list
wrote:
>
> On Mon, 03 Jun 2024 14:58:26 -0400 (EDT)
> Grant Edwards wrote:
>
> > On 2024-06-03, Edward Teach via Python-list
> > wrote:
> >
> > > The Gutenburg Project publishes "plain text". That's another
> > > problem, because "plain
ent: Tuesday, June 4, 2024 7:22 AM
To: python-list@python.org
Subject: Re: From JoyceUlysses.txt -- words occurring exactly once
On Mon, 03 Jun 2024 14:58:26 -0400 (EDT)
Grant Edwards wrote:
> On 2024-06-03, Edward Teach via Python-list
> wrote:
>
> > The Gutenburg Project publishe
On 2024-06-04, Edward Teach via Python-list wrote:
> On Mon, 03 Jun 2024 14:58:26 -0400 (EDT)
> Grant Edwards wrote:
>
>> On 2024-06-03, Edward Teach via Python-list
>> wrote:
>>
>> > The Gutenburg Project publishes "plain text". That's another
>> > problem, because "plain text" means UTF-8...
On Mon, 03 Jun 2024 14:58:26 -0400 (EDT)
Grant Edwards wrote:
> On 2024-06-03, Edward Teach via Python-list
> wrote:
>
> > The Gutenburg Project publishes "plain text". That's another
> > problem, because "plain text" means UTF-8and that means
> > unicode...and that means running some sort
Edward Teach wrote at 2024-6-3 10:47 +0100:
> ...
>The Gutenburg Project publishes "plain text". That's another problem,
>because "plain text" means UTF-8and that means unicode...and that
>means running some sort of unicode-to-ascii conversion in order to get
>something like "words". A couple
On 2024-06-03, Edward Teach via Python-list wrote:
> The Gutenburg Project publishes "plain text". That's another
> problem, because "plain text" means UTF-8and that means
> unicode...and that means running some sort of unicode-to-ascii
> conversion in order to get something like "words". A
On Sat, 1 Jun 2024 13:34:11 -0600
Mats Wichmann wrote:
> On 5/31/24 11:59, Dieter Maurer via Python-list wrote:
>
> hmmm, I "sent" this but there was some problem and it remained
> unsent. Just in case it hasn't All Been Said Already, here's the
> retry:
>
> > HenHanna wrote at 2024-5-30 13:03
On 5/31/24 11:59, Dieter Maurer via Python-list wrote:
hmmm, I "sent" this but there was some problem and it remained unsent.
Just in case it hasn't All Been Said Already, here's the retry:
HenHanna wrote at 2024-5-30 13:03 -0700:
Given a text file of a novel (JoyceUlysses.txt) ...
could s
On 6/1/2024 4:04 AM, Peter J. Holzer via Python-list wrote:
On 2024-05-30 19:26:37 -0700, HenHanna via Python-list wrote:
hard to decide what to do with hyphens
and apostrophes
(I'd, he's, can't, haven't, A's and B's)
Especially since the same character is us
On 2024-05-30 19:26:37 -0700, HenHanna via Python-list wrote:
> hard to decide what to do with hyphens
>and apostrophes
> (I'd, he's, can't, haven't, A's and B's)
Especially since the same character is used as both an apostrophe and a
closing quotation mark. And w
On 5/30/2024 4:03 PM, HenHanna via Python-list wrote:
Given a text file of a novel (JoyceUlysses.txt) ...
could someone give me a pretty fast (and simple) Python program that'd
give me a list of all words occurring exactly once?
-- Also, a list of words occurring once, twice o
HenHanna wrote at 2024-5-30 13:03 -0700:
>
>Given a text file of a novel (JoyceUlysses.txt) ...
>
>could someone give me a pretty fast (and simple) Python program that'd
>give me a list of all words occurring exactly once?
Your task can be split into several subtasks:
* parse the text into words
On 2024-05-31, Pieter van Oostrum via Python-list
wrote:
> HenHanna writes:
>
>> Given a text file of a novel (JoyceUlysses.txt) ...
>>
>> could someone give me a pretty fast (and simple) Python program that'd
>> give me a list of all words occurring exactly once?
>>
>> -- Also, a
On 5/30/2024 2:18 PM, dn wrote:
On 31/05/24 08:03, HenHanna via Python-list wrote:
Given a text file of a novel (JoyceUlysses.txt) ...
could someone give me a pretty fast (and simple) Python program that'd
give me a list of all words occurring exactly once?
-- Also, a list of
HenHanna writes:
> Given a text file of a novel (JoyceUlysses.txt) ...
>
> could someone give me a pretty fast (and simple) Python program that'd
> give me a list of all words occurring exactly once?
>
> -- Also, a list of words occurring once, twice or 3 times
>
>
>
> re: hyphenate
On 31/05/24 08:03, HenHanna via Python-list wrote:
Given a text file of a novel (JoyceUlysses.txt) ...
could someone give me a pretty fast (and simple) Python program that'd
give me a list of all words occurring exactly once?
-- Also, a list of words occurring once, twice or 3
Given a text file of a novel (JoyceUlysses.txt) ...
could someone give me a pretty fast (and simple) Python program that'd
give me a list of all words occurring exactly once?
-- Also, a list of words occurring once, twice or 3 times
re: hyphenated words(you can treat
27 matches
Mail list logo