I am trying to create a PayPal-like payment gateway for a web app developed with Django. I checked the Bitcoin website and took help from the wallet suggestion and installed Electrum according to my conditions. I searched the Electrum documentation for creating a payment gateway, but all of it is based on Electrum commands and I don’t know how to execute these commands in my Python script. My main question is, is it possible to create a Bitcoin payment gateway on the Python platform? If so, do you know a solution that is as Pythonic as possible, for example with the requests library, or the Electrum library? I appreciate your valuable help in advance.











