so I am trying to use the requests module to make an auto-updater for my program. I want to take the text from a Pastebin file and use that as my code. This is what I've done so far.
import requests
coderaw = requests.get('https://pastebin.com/raw/s3d1kWgu')
code = coderaw.text
So I want the "code" variable to be my source code. Does anybody know a module or an operator that lets me do this?
Thanks.