revisiting the "What am I running on?" question

songbird songbird at
Tue Feb 19 09:07:33 EST 2019

Rick Johnson wrote:
> The standard idiom for regexp match objects is to test for truthiness, not to use an except-clause.
> m ="^[A-Za-z]:", sysprobetmp)
> if m:
>     ...

  ok, thanks!  :)


More information about the Python-list mailing list