def init(mpstate):
 return SerialModule(mpstate)

def init ( mpstate ) : return SerialModule ( mpstate )
calling this function will take over the terminal until the current python interpreter is closed .