How to test characters of a string

2QdxY4RzWzUUiLuE at potatochowder.com 2QdxY4RzWzUUiLuE at potatochowder.com
Tue Jun 7 17:46:38 EDT 2022


On 2022-06-08 at 07:29:03 +1000,
Chris Angelico <rosuav at gmail.com> wrote:

> On Wed, 8 Jun 2022 at 07:24, Barry <barry at barrys-emacs.org> wrote:
> >
> >
> >
> > > On 7 Jun 2022, at 22:04, Dave <dave at looktowindward.com> wrote:
> > >
> > > It depends on the language I’m using, in Objective C, I’d use isNumeric, just wanted to know what the equivalent is in Python.
> > >
> > > If you know the answer why don’t you just tell me and if you don’t, don’t post!
> >
> > People ask home work questions here and we try to teach a student with hints not finished answers.
> > Your post was confused with a home work question.
> >
> 
> In the future, to make it look less like a homework question, show
> your current code, which would provide context. Last I checked,
> homework questions don't usually involve ID3 tags in MP3 files :)

The original question in this thread didn't say anything about MP3
files.  Jumping to that conclusion from strings like '05 Trinket' was
left as an exercise for the interested reader.  :-)


More information about the Python-list mailing list