Hi Ram,
Have one of the processes (the backend Python process?) communicate
directly with the database.
The other process (the browser?) will communicate with the above
process via a TCP/IP socket.
You may want to read about RDA:
https://en.wikipedia.org/wiki/Remote_Database_Access
or activate mysql/psql/sqlite (the shell programs) in the backend and
have the browser communicate with them via pipes (or WebSockets?).
--- Omer Zak
--
One cannot argue with a Bayesian filter. Peter Lorand Peres
My own blog is at
https://tddpirate.zak.co.il/
My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with
which I may be affiliated in any way.
WARNING TO SPAMMERS: at
https://www.zak.co.il/spamwarning.html