revisiting the "What am I running on?" question

songbird songbird at
Tue Feb 19 09:09:24 EST 2019

MRAB wrote:
> Don't use a bare except, it'll catch _any_ exception.

  that's ok with this code IMO, but i see your point.

> If the regex matches, will return a match object; if it 
> doesn't match, it'll return None.
> In any case, +1 to Dan's answer.
> [snip]

  ok, thanks!


More information about the Python-list mailing list