How to write this ajax call in Python <p>I have a ajax call but I have to call it from a Python script. This is the ajax call:</p> <pre><code>$.ajax({ dataType: "json", type: "GET", url: "saytts", data: {text: self.tts()} }); </code></pre> <p>I tried the package Requests but it's not working. Can someone translate this ajax call to a python request?</p> <p>Thank you.</p>