Closed waebbl closed 2 years ago
Fixed. Thanks for letting me know!
Thanks for fixing it. However, now the last (empty) line of the comment block at the beginning isn't filtered out. I've found, that a solution like if line[0:2] == '##': continue
gives a correct result.
In https://github.com/AllenDowney/ThinkPython2/blob/master/code/pronounce.py#L31 the pronounciation of the sharp-sign from line 57 of c06d is removed as well. Comments in the pronounciation file always start with
##
.