On 2022-06-07 at 23:07:42 +0100, Regarding "Re: How to test characters of a string," MRAB <pyt...@mrabarnett.plus.com> wrote:
> On 2022-06-07 21:23, Dave wrote: > > Thanks a lot for this! isDigit was the method I was looking for and > > couldn’t find. > > > > I have another problem related to this, the following code uses the code > > you just sent. I am getting a files ID3 tags using eyed3, this part seems > > to work and I get expected values in this case myTitleName (Track name) is > > set to “Deadlock Holiday” and myCompareFileName is set to “01 Deadlock > > Holiday” (File Name with the Track number prepended). The is digit test > > works and myCompareFileName is set to “Deadlock Holiday”, so they should > > match, right? > > > OT, but are you sure about that name? Isn't it "Dreadlock Holiday" (by > 10cc)? Edsger Dijkstra originally wrote Deadlock Holiday for his band, The Semaphores. 10cc lost the race condition and had to change the lyrics. Sorry. -- https://mail.python.org/mailman/listinfo/python-list