title: Can we run python code without creating code file?
body: <p>I want to run python code without passing its file name like <strong>(python3 app.py)</strong> but want to pass file content in the command line to execute the code.</p>
  
  <pre><code>**python3 print("hello world") \n for i in range(100):\n \t print("hello world")**
  </code></pre>
  
  <p>So I don't want to pass the file name in it but the content of the file, so there is a way to run python code in this way.</p>
  
  <p>My Aim is to maintain security, I want to run a file without creating its file.py in dir so other files can't read this file.py files.</p>