title: How do I use cURL to get a response from a website and then run that response as python?
body: <p>For my batch file I want to have a command that will allow me to use 2 parameters, <code>(language) (url)</code>, and have the ability to run the the <strong>URL</strong> in whatever language I like. What I mean by this is that lets say there's a <strong>URL</strong> called <code>https://mycode.com/mycode</code>, and its response is <code>print(&quot;hello&quot;)</code>. I would like to be able to be able to input <code>python https://mycode.com/mycode</code> into my batch terminal and it would run whatever the response is in python. I already know how to make multiple parameters, I just need to know how I can get the response and run it with python in one automated process. Similar to <strong>LUA</strong> and how you can do <code>loadstring(&quot;url&quot;)</code> and it will run the response in <strong>LUA</strong>.</p>
  <p>Also: <code>I mainly would like to run the response in python but with the multiple parameters I'm hoping I can choose the language I want to run the response in depending on what the response is.</code></p>