It looks like you've found a bug in py3270. In Python 2, BrokenPipeError is not defined. Can you run the example with Python 3.5 instead?
Husband | Father | Redeemed Sinner
"For what does it profit a man to gain the whole world
and forfeit his soul?" (Mark 8:36 ESV)
To unsubscribe from this group and stop receiving emails from it, send an email to blazelibs+...@googlegroups.com.
Can you confirm that wait_for_field() delays a script when network is slow and avoids the error message "keyboard locked"?