The trick is, of course, to figure out where the raw_input has to sit…
import vohelper import time @ vohelper.show_exception def print_coord(privkey, sender_id, msg_id, mtype, params, extra): print("{} {}".format(params["ra"], params["dec"])) with vohelper.SAMP_conn() as conn: conn.bind_receive_notification( "coord.pointAt.sky", print_coord) raw_input()