How to test characters of a string

MRAB python at mrabarnett.plus.com
Tue Jun 7 18:07:42 EDT 2022


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)?

[snip]


More information about the Python-list mailing list