interprocess communication between Python and kdb+