I am trying to access kdb+/q table via python. I know there are some libraries that help communications between python & q, but I wanted to see if it is possible to do so without using above libraries as there are some constraints on kdb+ version.

My initial guess was:

1. define table in kdb+q; access kdb via python using urllib- 
urllib.request.get("localhost:5000?.j.k TABLE\_NAME") but it wasn't successful.
2. Another approach I had was using pd.read\_csv("localhost:5000/q.csv?select from table ...") but this approach couldn't work out due to HTTP 406 error.

What are the flexible/easy way of retrieving kdb table from python? Any advise/guidance would be appreciated. Thanks