I am executing the follow piece of code:
def do_scores(self,arg,opts = None):
r = requests.get("https://www.reddit.com/r/nba/")
response = r.text;
print(cresponse).
What this is doing, is making a simple get request to the website provided above and I wish to store this in a string, which I will go on to manipulate in my code afterwards. However, I am unable to do this because the response string has numerous occassions where it contains a " and therefore messes up parsing of the string. Therefore I was wondering if there was any way to replace all of these " with a different character such as / or '.