printing to stdout
Marko Rauhamaa
marko at pacujo.net
Sun Aug 19 05:02:51 EDT 2018
richard lucassen <mailinglists at lucassen.org>:
> As I'm new to Python, just this question: are there any unPythony
> things in this code?
Your code looks neat.
> except IOError:
> print ("[ALERT] I/O problem device 0x%x" % list_pcf[i])
Just double check that simply printing the alert is the correct recovery
from the exception. Should there be additional logic instead of the
fallthrough?
Marko
More information about the Python-list
mailing list