On 2022-06-08 at 07:29:03 +1000, Chris Angelico <ros...@gmail.com> wrote:
> On Wed, 8 Jun 2022 at 07:24, Barry <ba...@barrys-emacs.org> wrote: > > > > > > > > > On 7 Jun 2022, at 22:04, Dave <d...@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. :-) -- https://mail.python.org/mailman/listinfo/python-list