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

  ok, thanks!  :)


  songbird
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to