Scripting machine vision and astronomical cameras in Python Handling machine vision cameras in Python